1 <div ng-show="! ready">
6 <form ng-controller="ListCtrl" class="form-search" ng-show="ready">
8 <div class="controls-row">
10 <h2>Odaberite tip registracije</h2>
12 <label class="radio input-block-level" ng-repeat="type in RegistrationTypes" ng-switch on="type.code" ng-show="Counts[type.code] > 0">
13 <hr ng-switch-when="false">
14 <span ng-switch-default>
15 <span class="badge {{type.css_class}}">{{Counts[type.code]}}</span>
16 <input type="radio" name="search.registration_type" ng-model="search.registration_type" value="{{type.code}}" >
19 <i>{{type.description}}</i>
21 <span class="badge" ng-repeat="subtype in filters" ng-show="Counts[type.code+'+'+subtype]"+>
22 {{Counts[type.code+'+'+subtype]}} {{subtype}}
29 <div class="controls-row">
31 <label class="badge filter-{{search[filter]}}" ng-repeat="filter in filters">
32 <input ng-model="search[filter]" type="checkbox">
39 <div class="controls-row">
43 <input class="search-query" ng-model="search.$">
46 <a class="btn btn-invert" href="" ng-click="search = {}">
47 <i class="icon-remove"></i></a>
48 <b>{{pager.results}} results</b>
52 <button ng-click="search.$ = 'draft'" class="btn draft">draft</button>
53 <button ng-click="search.$ = 'confirmation'" class="btn confirmation">confirmation</button>
54 <button ng-click="search.$ = 'verified'" class="btn verified">verified</button>
55 <input type="number" ng-model="pager.page" min="1" max="{{pager.last_page}}">
56 <input type="number" ng-model="pager.limit">
61 <div ng-show="list.length">
63 <h2>Prijavljenje registracije {{search.registration_type}}</h2>
68 <li ng-repeat="registration in list">
70 <a class="btn btn-primary" href="#/verified/{{registration.id}}" target="{{registration.id}}">change status</a>
71 %= include 'registration/view'
76 </div><!-- ng-show="list.length"-->
78 % if ( $lang =~ m/-dev/ ) {
79 <pre class="controls-row">