e2dae050d108bb24b807b2826feb5aee8a4a42af
[angular-drzb] / app / partials / authors.html.ep
1
2 <div ng-show="! ready" class="alert alert-important">
3 {{message}}
4 </div>
5
6 <form ng-controller="AuthorsCtrl" class="form-search" ng-show="ready">
7
8 <fieldset>
9 <legend>
10 Authors
11 </legend>
12
13 <input class="my-lebel-input search-query" ng-model="search.$" label="Search">
14
15 <a class="btn btn-invert" href="" ng-click="reset()">
16 <i class="icon-remove"></i></a>
17
18 <tt>{{search}}</tt>
19
20 {{data.total_rows}} authors
21 {{data.distinct_rows}} distinct
22
23 </fieldset>
24
25 <table ng-show="authors.length" class="table">
26 <tr ng-repeat="author in authors | filter:search">
27 <td>{{author.value.surname}}</td>
28 <td>{{author.value.firstname}}</td>
29 <td>{{author.value.organization}}</td>
30 <td>{{author.value.email}}</td>
31 <td>
32 <a ng-repeat="r_id in author.distinct_ids" href="{{r_id | registration_url }}" target="{{r_id}}" title="open {{r_id}} in new window"><i class="icon-user"></i></a>
33 </td>
34 </tr>
35 </table>
36
37 % if ( $lang =~ m/x-dev/ ) {
38 <pre class="controls-row">
39 {{authors}}
40 </pre>
41 % }
42
43 </form>
44