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