]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/src/templates/acq/common/notes.tt2
Merge branch 'master' of git.evergreen-ils.org:Evergreen-DocBook into doc_consolidati...
[Evergreen.git] / Open-ILS / src / templates / acq / common / notes.tt2
1 [% which_lc = which | lower %]
2     <div id="acq-[% which_lc %]-notes-div" class="hidden">
3         <div class="acq-menu-bar">
4             <table style="width:100%">
5                 <tr>
6                     <td style="text-align:left;">
7                         <div dojoType="dijit.form.Button" id="acq-[% which_lc %]-notes-back-button">&#x2196; Return</div>
8                     </td>
9                     <td style="text-align:right;">
10                         <div dojoType="dijit.form.DropDownButton">
11                             <span>New Note</span>
12                             <div dojoType="dijit.TooltipDialog">
13                                 <div class="acq-notes-note-row">
14                                     <div jsId="acq[% which %]CreateNoteText" dojoType="dijit.form.Textarea" style="height:5em; width:25em;" name="note"></div>
15                                     <div style="margin: 8px 0;">
16                                         <div dojoType="dijit.form.CheckBox" jsId="acq[% which %]CreateNoteVendorPublic" name="vendor_public" id="acq-[% which_lc %]-create-note-vendor-public"></div><label for="acq-[% which_lc %]-create-note-vendor-public">Note is vendor-public</label>
17                                     </div>
18                                 </div>
19                                 <button jsId="acq[% which %]CreateNoteSubmit" dojoType="dijit.form.Button" type="submit">Create</button>
20                             </div>
21                         </div>
22 [% IF which == "Lit" %]
23                         <div dojoType="dijit.form.DropDownButton">
24                             <span>New Alert</span>
25                             <div dojoType="dijit.TooltipDialog">
26                                 <div class="acq-notes-note-row">
27                                     <label for="acq-lit-alert-alert-text">Choose alert code &nbsp;&nbsp;</label>
28                                     <input id="acq-lit-alert-alert-text" jsId="acqLitAlertAlertText" dojoType="dijit.form.FilteringSelect" labelAttr="code" searchAttr="code" required="true" />
29                                 </div>
30                                 <div class="acq-notes-note-row">
31                                     <label for="acq-lit-alert-value">Additional comments</label>
32                                     <div jsId="acqLitAlertNoteValue" id="acq-lit-alert-value" dojoType="dijit.form.Textarea" name="value"></div>
33                                 </div>
34                                 <button jsId="acqLitCreateAlertSubmit" dojoType="dijit.form.Button" type="submit">Create</button>
35                             </div>
36                         </div>
37 [% END %]
38                     </td>
39                 </tr>
40             </table>
41         </div>
42
43         <ol id="acq-[% which_lc %]-notes-tbody">
44             <li id="acq-[% which_lc %]-notes-row">
45                 <table style="width:100%;" class="oils-generic-table">
46                     <tr>
47                         <td width="70%" align="left">
48                             <span name="vendor_public"></span>
49                             <span name="alert_code"></span>
50                             <span style="font-size:120%" name="value"></span>
51                         </td>
52                         <td align="right" style="padding-right:30px;">
53                             <span name="edit_time"></span>
54                             <span style="padding-left:4px;">
55                                 <a name="delete" href="javascript:void(0);" style="color:red;">Delete</a>
56                             </span>
57                         </td>
58                     </tr>
59                 </table>
60             </li>
61         </ol>
62     </div>