Move serials interfaces closer together
[working/Evergreen.git] / Open-ILS / src / templates / serial / subscription / distribution.tt2
1 <div dojoType="dijit.layout.ContentPane" layout="top"
2     class="oils-header-panel lesser">
3     <div>[% l('Distributions') %]</div>
4     <div style="margin-right: 16px;">
5         <span dojoType="dijit.form.Button"
6             onClick="open_notes('dist', dist_grid);">[% l('View/Edit Notes') %]</span>
7         <span dojoType="dijit.form.Button"
8             onClick="dist_grid.refresh();">[% l('Refresh Grid') %]</span>
9         <span dojoType="dijit.form.Button"
10             onClick="if (cgi.param('context') != 'scv') sub_grid._fresh = false; dist_grid.showCreateDialog();">
11             [% l('New Distribution') %]
12         </span>
13         <span dojoType="dijit.form.Button"
14             onClick="if (cgi.param('context') != 'scv') sub_grid._fresh = false; dist_grid.deleteSelected();">
15             [% l('Delete Selected') %]
16         </span>
17     </div>
18 </div>
19 <div dojoType="dijit.layout.ContentPane" layout="top">
20     <table
21         jsId="dist_grid"
22         dojoType="openils.widget.AutoGrid"
23         style="height: 550px;"
24         fieldOrder="['subscription','label','holding_lib']"
25         suppressFields="['subscription','receive_call_number','bind_call_number','bind_unit_template']"
26         suppressEditFields="['receive_call_number','bind_call_number','bind_unit_template']"
27         onPostSubmit="attempt_reload_opac"
28         fmClass="sdist"
29         query="{id: '*'}"
30         editOnEnter="true"
31         showPaginator="true">
32         <thead>
33             <tr>
34                 <th field="label" width="35%"
35                     get="get_id_and_label" formatter="format_sdist_label"></th>
36             </tr>
37         </thead>
38     </table>
39 </div>