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