]> git.evergreen-ils.org Git - working/Evergreen.git/blob - Open-ILS/web/templates/default/acq/picklist/user_request.tt2
trim the default display fields in the user req ui. format the title as a link to...
[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 src='[% ctx.media_prefix %]/js/ui/default/acq/picklist/user_request.js'> </script>
4 <script>var reqId = '[% ctx.page_args.0 %]';</script>
5
6 <div dojoType="dijit.layout.ContentPane" layoutAlign="client">
7     <div dojoType="dijit.layout.ContentPane" layoutAlign="top" class='oils-header-panel'>
8         <div>[% ctx.page_title %]</div>
9         <div>
10             <!-- TODO: add reject-selection operation -->
11         </div>
12     </div>
13     <div>
14         <span>Context Org Unit</span>
15         <select 
16             dojoType="openils.widget.OrgUnitFilteringSelect" 
17             jsId='contextOrgSelector'
18             searchAttr='shortname' 
19             labelAttr='shortname'> 
20         </select>
21     </div>
22     <table  jsId="rGrid"
23             dojoType="openils.widget.AutoGrid"
24             query="{id: '*'}"
25             suppressFields='["id", "usr", "pickup_lib", "holdable_formats", "phone_notify", "email_notify", "lineitem", "eg_bib", "max_fee", "cancel_reason"]'
26             fieldOrder='["title", "author", "isxn", "article_title", "article_pages", "request_type", "volume", "pubdate", "publisher", "location", "other_info", "mentioned"]'
27             fmClass='aur'
28             editStyle='pane'
29             autoHeight='true'
30             suppressFields="['id']"
31             showPaginator='true'
32             showColumnPicker='true'
33             columnPickerPrefix='"acq.picklist.user_request"'
34             editOnEnter='true'>
35             <thead>
36                 <tr>
37                     <th field='title' get='getTitle' formatter='formatTitle'/>
38                 </tr>
39             </thead>
40     </table>
41 </div>
42 [% END %]