1 <div ng-show="! ready">
6 <form ng-controller="ListCtrl" class="form-search" ng-show="ready">
8 <h2>Odaberite tip registracije</h2>
10 <label class="radio input-block-level" ng-repeat="type in RegistrationTypes" ng-switch on="type.code" ng-show="RegistrationTypeCount[type.code] > 0">
11 <hr ng-switch-when="false">
12 <span ng-switch-default>
13 <tt>{{RegistrationTypeCount[type.code]}}</tt>
14 <input type="radio" name="search.registration_type" ng-model="search.registration_type" value="{{type.code}}" >
17 <i>{{type.description}}</i>
24 <input class="search-query" ng-model="search.$">
25 <a class="btn btn-invert" href="" ng-click="search.$ = ''">
26 <i class="icon-remove"></i></a>
27 <b>{{list.length}} results</b>
31 <div ng-show="list.length">
33 <h2>Prijavljenje registracije {{search.registration_type}}</h2>
37 <li ng-repeat="registration in list">
38 <a class="btn" href="#/registration/{{registration.id}}">edit</a>
39 {{registration.user.registration_type}}
40 {{registration._id | registration_date_time}}
41 <a class="btn" href="#/confirmation/{{registration.id}}" title="confirmation"><tt>{{registration.id}}</tt></a>
42 % if ( $lang =~ m/-dev/ ) {
43 <a class="btn" href="<%= $couchdb_view %>/{{registration._id}}" target="couchdb">couchdb</a>
47 {{registration.user.firstname}}
48 {{registration.user.surname}}
49 <em>{{registration.user.organization}}</em>,
50 {{registration.user.city}},
51 <i>{{registration.user.country}}</i>
52 <tt><{{registration.user.email}}></tt>
55 <p ng-show="registration.user.registration_type == 'symposium'">
56 {{registration.symposium.title}}
58 {{registration.symposium.abstract}}
62 <h3 ng-show="registration.work.title">
63 {{registration.work.title}}
66 <p ng-repeat="author in registration.work.persons" >
69 <em>{{author.organization}}</em>
70 <tt><{{author.email}}></tt>
73 <p class="abstract">{{registration.work.abstract}}</p>
75 <ol ng-show="registration.user.registration_type == 'symposium'">
76 <li ng-repeat="work in registration.work.symposium_works">
77 <h4>{{work.title}}</h4>
79 <p ng-repeat="author in work.persons" >
82 <em>{{author.organization}}</em>
83 <tt><{{author.email}}></tt>
86 <p class="abstract">{{work.abstract}}</p>
92 </div><!-- ng-show="list.length"-->