move flattener_test.tt2 out the real templates dir
authorLebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Fri, 30 Mar 2012 20:41:23 +0000 (16:41 -0400)
committerLebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Fri, 30 Mar 2012 20:41:23 +0000 (16:41 -0400)
Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Open-ILS/examples/tt2/flattener_test.tt2 [new file with mode: 0644]
Open-ILS/src/templates/conify/flattener_test.tt2 [deleted file]

diff --git a/Open-ILS/examples/tt2/flattener_test.tt2 b/Open-ILS/examples/tt2/flattener_test.tt2
new file mode 100644 (file)
index 0000000..8f610f6
--- /dev/null
@@ -0,0 +1,49 @@
+[% WRAPPER base.tt2 %]
+[% ctx.page_title = 'Flattener Test' %]
+<!--
+        -->
+<script type="text/javascript">
+    dojo.require("dijit.form.Button");
+    dojo.require("openils.widget.FlattenerGrid");
+</script>
+<div dojoType="dijit.layout.ContentPane" layoutAlign="client">
+    <div dojoType="dijit.layout.ContentPane"
+         layoutAlign="top" class="oils-header-panel">
+        <div>Flattener Test</div>
+        <div>
+            <button dojoType="dijit.form.Button"
+                onClick="grid.showCreateDialog()">New Thing</button>
+            <button dojoType="dijit.form.Button"
+                onClick="grid.deleteSelected()">Delete Selected Thing</button>
+        </div>
+    </div>
+    <!-- <div class="oils-acq-basic-roomy">
+        blah, a dropdown or something here (optional; typical interfaces might
+        have a filtering org select here. Then again, why not use
+        showLoadFilter on the Grid instead?)
+    </div> -->
+    <table
+        id="gridNode"
+        jsid="grid"
+        dojoType="openils.widget.FlattenerGrid"
+        columnPersistKey='"conify.flattener_test"'
+        autoHeight="10"
+        editOnEnter="true"
+        editStyle="pane"
+        showLoadFilter="true"
+        fmClass="'acp'"
+        defaultSort="['call_number']"
+        mapExtras="{copy_status: {path: 'status.name', filter: true}}"
+        query="{'copy_status': ['Available','Reshelving','In process'],'circ_lib': 'BR1'}">
+        <thead>
+            <tr>
+                 <th field="barcode" fpath="barcode" ffilter="true">Barcode</th>
+                <th field="circ_lib_name" fpath="circ_lib.name" ffilter="true">Circulation Library Name</th>
+                <th field="circ_lib" fpath="circ_lib.shortname" ffilter="true">Circulation Library</th>
+                <th field="call_number" fpath="call_number.label" ffilter="true"></th>
+                <th field="shelving_loc" fpath="location.name" ffilter="true">Shelving Location</th>
+            </tr>
+        </thead>
+    </table>
+</div>
+[% END %]
diff --git a/Open-ILS/src/templates/conify/flattener_test.tt2 b/Open-ILS/src/templates/conify/flattener_test.tt2
deleted file mode 100644 (file)
index 8f610f6..0000000
+++ /dev/null
@@ -1,49 +0,0 @@
-[% WRAPPER base.tt2 %]
-[% ctx.page_title = 'Flattener Test' %]
-<!--
-        -->
-<script type="text/javascript">
-    dojo.require("dijit.form.Button");
-    dojo.require("openils.widget.FlattenerGrid");
-</script>
-<div dojoType="dijit.layout.ContentPane" layoutAlign="client">
-    <div dojoType="dijit.layout.ContentPane"
-         layoutAlign="top" class="oils-header-panel">
-        <div>Flattener Test</div>
-        <div>
-            <button dojoType="dijit.form.Button"
-                onClick="grid.showCreateDialog()">New Thing</button>
-            <button dojoType="dijit.form.Button"
-                onClick="grid.deleteSelected()">Delete Selected Thing</button>
-        </div>
-    </div>
-    <!-- <div class="oils-acq-basic-roomy">
-        blah, a dropdown or something here (optional; typical interfaces might
-        have a filtering org select here. Then again, why not use
-        showLoadFilter on the Grid instead?)
-    </div> -->
-    <table
-        id="gridNode"
-        jsid="grid"
-        dojoType="openils.widget.FlattenerGrid"
-        columnPersistKey='"conify.flattener_test"'
-        autoHeight="10"
-        editOnEnter="true"
-        editStyle="pane"
-        showLoadFilter="true"
-        fmClass="'acp'"
-        defaultSort="['call_number']"
-        mapExtras="{copy_status: {path: 'status.name', filter: true}}"
-        query="{'copy_status': ['Available','Reshelving','In process'],'circ_lib': 'BR1'}">
-        <thead>
-            <tr>
-                 <th field="barcode" fpath="barcode" ffilter="true">Barcode</th>
-                <th field="circ_lib_name" fpath="circ_lib.name" ffilter="true">Circulation Library Name</th>
-                <th field="circ_lib" fpath="circ_lib.shortname" ffilter="true">Circulation Library</th>
-                <th field="call_number" fpath="call_number.label" ffilter="true"></th>
-                <th field="shelving_loc" fpath="location.name" ffilter="true">Shelving Location</th>
-            </tr>
-        </thead>
-    </table>
-</div>
-[% END %]