]> git.evergreen-ils.org Git - working/Evergreen.git/blob - Open-ILS/web/templates/default/acq/picklist/user_request.tt2
Add type="text/javascript" to <script> tags where needed.
[working/Evergreen.git] / Open-ILS / web / templates / default / acq / picklist / user_request.tt2
1 [% WRAPPER 'default/base.tt2' %]
2 [% ctx.page_title = 'Patron Requests' %]
3 <script type="text/javascript" src='[% ctx.media_prefix %]/js/ui/default/acq/picklist/user_request.js'></script>
4 <script type="text/javascript">var reqId = '[% ctx.page_args.0 %]';</script>
5
6     <div dojoType="dijit.layout.StackContainer" id="stackContainer" doLayout="false">
7         <!-- *** List View ********************************************************************************* -->
8         <div dojoType="dijit.layout.ContentPane">
9             <div dojoType="dijit.layout.ContentPane" layoutAlign="top" class='oils-header-panel'>
10                 <div>[% ctx.page_title %]</div>
11             </div>
12             <div>
13                 <span>Context Org Unit</span>
14                 <select 
15                     dojoType="openils.widget.OrgUnitFilteringSelect" 
16                     jsId='contextOrgSelector'
17                     searchAttr='shortname' 
18                     labelAttr='shortname'> 
19                 </select>
20             </div>
21             <table  jsId="rGrid"
22                     dojoType="openils.widget.AutoGrid"
23                     query="{id: '*'}"
24                     suppressFields='["id", "usr", "pickup_lib", "holdable_formats", "phone_notify", "email_notify", "lineitem", "eg_bib", "max_fee", "cancel_reason"]'
25                     fieldOrder='["title", "author", "isxn", "article_title", "article_pages", "request_type", "volume", "pubdate", "publisher", "location", "other_info", "mentioned"]'
26                     fmClass='aur'
27                     editStyle='pane'
28                     autoHeight='true'
29                     defaultCellWidth='"auto"'
30                     suppressFields="['id']"
31                     showPaginator='true'
32                     showColumnPicker='true'
33                     columnPickerPrefix='"acq.picklist.user_request"'>
34                     <thead>
35                         <tr>
36                             <th field='title' get='getTitle' formatter='formatTitle'/>
37                         </tr>
38                     </thead>
39             </table>
40         </div>
41         <!-- *** Detail View ********************************************************************************* -->
42         <div dojoType="dijit.layout.ContentPane" style="height: 100%;">
43             <div dojoType="dijit.layout.ContentPane" layoutAlign="top" class='oils-header-panel'>
44                 <div>Patron Request</div>
45                 <div>
46                     <button dojoType="dijit.form.Button" onClick="location.href=oilsBasePath+'/acq/picklist/user_request'">[% ctx.page_title %]</button>
47                     <button dojoType="dijit.form.Button" onClick="fooPicklist()"><span id="add_to_picklist">Add to Picklist</span><span id="view_picklist">View Picklist</span></button>
48                     <button dojoType="dijit.form.Button" onClick="setNoHold()">Set No Hold</button>
49                     <span dojoType="dijit.form.DropDownButton">
50                         <span>Cancel Request</span>
51                         <span dojoType="dijit.TooltipDialog">
52                             <label for="acq-ur-cancel-reason">
53                                 Reason:
54                             </label>
55                             <span id="acq-ur-cancel-reason"></span>
56                             <button jsId="acqUrCancelReasonSubmit"
57                                 dojoType="dijit.form.Button"
58                                 type="submit">Cancel Request</button>
59                         </span>
60                     </span>
61                 </div>
62             </div>
63             <div id="detail_content_pane" />
64         </div>
65     </div>
66 [% END %]