6 <form ng-controller="ListCtrl">
8 <h2>Odaberite tip registracije</h2>
10 <label class="left" 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 ng-model="search.$">
23 <input type=button value="X" ng-click="search.$ = ''">
24 <b>{{list.length}} results</b>
28 <h2>Prijavljenje registracije</h2>
32 <li ng-repeat="registration in list">
33 <a href="#/registration/{{registration.id}}">edit</a>
34 {{registration.user.registration_type}}
35 <tt ng-click="debug = 1" title="click to show JSON">{{registration._id}}</tt>
36 <tt ng-show="debug" title="click to hide" ng-click="debug = 0">{{registration}}</tt>
37 <a href="http://10.60.0.92:5984/_utils/document.html?drzb2013/{{registration._id}}" target="drzb">db</a>
40 {{registration.user.firstname}}
41 {{registration.user.surname}}
42 <em>{{registration.user.organization}}</em>,
43 {{registration.user.city}},
44 <i>{{registration.user.country}}</i>
45 <tt><{{registration.user.email}}></tt>
48 <p ng-show="registration.user.registration_type == 'symposium'">
49 {{registration.symposium.title}}
51 {{registration.symposium.abstract}}
55 <h3 ng-show="registration.work.title">
56 {{registration.work.title}}
59 <p ng-repeat="author in registration.work.persons" >
62 <em>{{author.organization}}</em>
63 <tt><{{author.email}}></tt>
66 <p class="abstract">{{registration.work.abstract}}</p>
68 <ol ng-show="registration.user.registration_type == 'symposium'">
69 <li ng-repeat="work in registration.work.symposium_works">
70 <h4>{{work.title}}</h4>
72 <p ng-repeat="author in work.persons" >
75 <em>{{author.organization}}</em>
76 <tt><{{author.email}}></tt>
79 <p class="abstract">{{work.abstract}}</p>