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">
11 <hr ng-switch-when="false">
12 <span ng-switch-default ng-show="RegistrationTypeCount[type.code] > 0">
13 <tt>{{RegistrationTypeCount[type.code]}}</tt>
14 <input type="radio" name="search.registration_type" ng-model="search.registration_type" value="{{type.code}}" >
16 <i>{{type.description}}</i>
22 <input class="search-query" ng-model="search.$">
23 <a class="btn btn-invert" href="" ng-click="search.$ = ''">
24 <i class="icon-remove"></i></a>
25 <b>{{list.length}} results</b>
29 <div ng-show="list.length">
31 <h2>Prijavljenje registracije {{search.registration_type}}</h2>
35 <li ng-repeat="registration in list">
36 <a href="#/registration/{{registration.id}}">edit</a>
37 {{registration.user.registration_type}}
38 <tt>{{registration._id}}</tt>
39 {{registration._id | registration_timestamp}}
42 {{registration.user.firstname}}
43 {{registration.user.surname}}
44 <em>{{registration.user.organization}}</em>,
45 {{registration.user.city}},
46 <i>{{registration.user.country}}</i>
47 <tt><{{registration.user.email}}></tt>
50 <p ng-show="registration.user.registration_type == 'symposium'">
51 {{registration.symposium.title}}
53 {{registration.symposium.abstract}}
57 <h3 ng-show="registration.work.title">
58 {{registration.work.title}}
61 <p ng-repeat="author in registration.work.persons" >
64 <em>{{author.organization}}</em>
65 <tt><{{author.email}}></tt>
68 <p class="abstract">{{registration.work.abstract}}</p>
70 <ol ng-show="registration.user.registration_type == 'symposium'">
71 <li ng-repeat="work in registration.work.symposium_works">
72 <h4>{{work.title}}</h4>
74 <p ng-repeat="author in work.persons" >
77 <em>{{author.organization}}</em>
78 <tt><{{author.email}}></tt>
81 <p class="abstract">{{work.abstract}}</p>
87 </div><!-- ng-show="list.length"-->