17f0db2b322d794e9f998b63bf4323a30ee8d721
[angular-drzb] / app / registration / view.html.ep
1 <dt>
2 %= $before->()
3  <a id="edit-registration" class="btn" href="#/registration/{{registration.id}}">edit</a>
4  {{registration.user.registration_type}}
5  {{registration._id | registration_date_time}}
6  <a id="registration-state" class="btn" href="#/{{registration.state}}/{{registration.id}}" title="{{registration.state}}" ng-show="registration.state"><tt>{{registration.id}}</tt></a>
7  <span ng-class="registration.state">{{registration.state}}</span>
8 % if ( $lang =~ m/-dev/ ) {
9  <a class="btn" href="<%= $couchdb_view %>/{{registration._id}}" target="couchdb">couchdb</a>
10 % }
11 </dt>
12
13 <dd>
14
15         <p class="well">
16          {{registration.user.firstname}}
17          {{registration.user.surname}}
18          <em>{{registration.user.organization}}</em>,
19          {{registration.user.city}},
20          <i>{{registration.user.country}}</i>
21          <tt>&lt;{{registration.user.email}}&gt;</tt>
22         </p>
23
24 <p ng-show="registration.user.registration_type == 'symposium'">
25 {{registration.symposium.title}}
26  <p class="abstract">
27  {{registration.symposium.abstract}}
28  </p>
29 </p>
30
31 <h3 ng-show="registration.work.title">
32 {{registration.work.title}}
33 </h3>
34
35 <p ng-repeat="author in registration.work.persons" >
36  {{author.firstname}}
37  {{author.surname}},
38  <em>{{author.organization}}</em>
39  <tt>&lt;{{author.email}}&gt;</tt>
40 </p>
41
42 <p class="abstract">{{registration.work.abstract}}</p>
43
44 <ol ng-show="registration.user.registration_type == 'symposium'">
45  <li ng-repeat="work in registration.work.symposium_works">
46   <h4>{{work.title}}</h4>
47
48         <p ng-repeat="author in work.persons" >
49          {{author.firstname}}
50          {{author.surname}},
51          <em>{{author.organization}}</em>
52          <tt>&lt;{{author.email}}&gt;</tt>
53         </p>
54
55     <p class="abstract">{{work.abstract}}</p>
56
57 </dd>