2 [% ctx.page_title = l('Import Bib Trash Groups') %]
3 <script type="text/javascript"
4 src='[% ctx.media_prefix %]/js/ui/default/conify/global/vandelay/import_bib_trash_group.js'>
7 <div dojoType="dijit.layout.ContentPane" layoutAlign="client">
9 [% grp_id = ctx.page_args.0 %]
11 <script>var grp_id = '[% grp_id %]'</script>
15 <div dojoType="dijit.layout.ContentPane"
16 layoutAlign="top" class='oils-header-panel'>
17 <div><span id='trash-group-name'></span></div>
19 <button dojoType='dijit.form.Button'
20 onClick='tfGrid.showCreateDialog()'>[% l('New Field') %]
22 <button dojoType='dijit.form.Button'
23 onClick='tfGrid.deleteSelected()'>[% l('Delete Selected') %]
29 onClick="location.href = location.href.replace(/\/[^\/]+$/, '')">
30 [% l('Return to Groups') %]
40 dojoType="openils.widget.FlattenerGrid"
41 columnPersistKey='"conify.vandelay.import_bib_trash_fields"'
47 defaultSort="['label']"
48 query="{grp: grp_id}">
51 <th field="id" fpath="id" ffilter="true"></th>
52 <th field="field" fpath="field" ffilter="true"></th>
59 <div dojoType="dijit.layout.ContentPane"
60 layoutAlign="top" class='oils-header-panel'>
62 <div>[% l('Import Bib Trash Fields') %]</div>
64 <button dojoType='dijit.form.Button'
65 onClick='tgGrid.showCreateDialog()'>
66 [% l('New Field Group') %]
68 <button dojoType='dijit.form.Button'
69 onClick='tgGrid.deleteSelected()'>
70 [% l('Delete Selected') %]
80 dojoType="openils.widget.FlattenerGrid"
81 columnPersistKey='"conify.vandelay.import_bib_trash_group"'
87 defaultSort="['label']"
88 query="{id:{'!=':null}}">
91 <th field="id" fpath="id" ffilter="true" formatter="format_grp"></th>
92 <th field="owner" fpath="owner.shortname" ffilter="true"></th>
93 <th field="label" fpath="label" ffilter="true"></th>
94 <th field="always_apply" fpath="always_apply" ffilter="true"></th>