webstaff: add support for editing authority records
[working/Evergreen.git] / Open-ILS / src / templates / staff / cat / share / t_record_summary.tt2
1 <div class="strong-text-2">
2   <div class="flex-row" style="justify-content: space-between">
3     <div class="flex-cell">[% l('Record Summary') %]</div>
4     <div ng-if="!noMarcLink" class="flex-cell">
5       <a target="_self" 
6         href="[% ctx.base_path %]/staff/cat/catalog/record/{{record.id()}}/marc_html">
7         (MARC)
8       </a>
9     </div>
10     <div class="flex-3">
11       <!-- padding -->
12     </div>
13     <div class="flex-cell">
14       <a class="pull-right" href ng-click="toggle_expand_summary()"
15         title="[% l('Collapse Record Summary Display') %]"
16         ng-hide="collapse_summary()">
17         <span class="glyphicon glyphicon-resize-small"></span>
18       </a>
19       <a class="pull-right" href ng-click="toggle_expand_summary()"
20         title="[% l('Expand Record Summary Display') %]"
21         ng-show="collapse_summary()">
22         <span class="glyphicon glyphicon-resize-full"></span>
23       </a>
24     </div>
25   </div>
26 </div>
27
28 <div class="flex-container-striped flex-container-bordered" ng-show="collapse_summary()">
29   <div class="flex-row">
30     <div class="flex-cell strong-text">[% l('Title:') %]</div>
31     <div class="flex-cell flex-2">
32       <a target="_self" 
33         href="[% ctx.base_path %]/staff/cat/catalog/record/{{record.id()}}">
34         {{record.simple_record().title()}}
35       </a>
36     </div>
37
38     <div class="flex-cell strong-text">[% l('Author:') %]</div>
39     <div class="flex-cell flex-2">{{record.simple_record().author()}}</div>
40
41     <div class="flex-cell strong-text">[% l('Pub Date:') %]</div>
42     <div class="flex-cell">
43       {{record.simple_record().pubdate()}}
44     </div>
45
46     <div class="flex-cell strong-text">[% l('Database ID:') %]</div>
47     <div class="flex-cell">{{record.id()}}</div>
48   </div><!-- flex-row -->
49 </div>
50
51 <div class="flex-container-striped flex-container-bordered" ng-hide="collapse_summary()">
52   <div class="flex-row">
53     <div class="flex-cell strong-text">[% l('Title:') %]</div>
54     <div class="flex-cell flex-2">
55       <a target="_self" 
56         href="[% ctx.base_path %]/staff/cat/catalog/record/{{record.id()}}">
57         {{record.simple_record().title()}}
58       </a>
59     </div>
60
61     <div class="flex-cell strong-text">[% l('Edition:') %]</div>
62     <div class="flex-cell"><!-- FIXME: no edition field on simple record --></div>
63
64     <div class="flex-cell strong-text">[% l('TCN:') %]</div>
65     <div class="flex-cell">{{record.tcn_value()}}</div>
66
67     <div class="flex-cell strong-text">[% l('Created By:') %]</div>
68     <div class="flex-cell">{{record.creator().usrname()}}</div>
69   </div><!-- flex-row -->
70
71   <div class="flex-row">
72     <div class="flex-cell strong-text">[% l('Author:') %]</div>
73     <div class="flex-cell flex-2">{{record.simple_record().author()}}</div>
74
75     <div class="flex-cell strong-text">[% l('Pub Date:') %]</div>
76     <div class="flex-cell">
77       {{record.simple_record().pubdate()}}
78     </div>
79
80     <div class="flex-cell strong-text">[% l('Database ID:') %]</div>
81     <div class="flex-cell">{{record.id()}}</div>
82
83     <div class="flex-cell strong-text">[% l('Last Edited By:') %]</div>
84     <div class="flex-cell">{{record.editor().usrname()}}</div>
85   </div><!-- flex-row -->
86
87   <div class="flex-row">
88     <div class="flex-cell strong-text">[% l('Bib Call #:') %]</div>
89     <div class="flex-cell flex-2"><!-- FIXME: no bib call no on simple rec --></div>
90
91     <div class="flex-cell strong-text"></div>
92     <div class="flex-cell"></div>
93
94     <div class="flex-cell strong-text">[% l('Record Owner:') %]</div>
95     <div class="flex-cell">{{record.owner().shortname()}}</div>
96
97     <div class="flex-cell strong-text">[% l('Last Edited On:') %]</div>
98     <div class="flex-cell">{{record.edit_date() | date:'short'}}</div>
99   </div><!-- flex-row -->
100 </div>
101