Make myopac subpages' names match what bill had in mind
authorsenator <lebbeous@esilibrary.com>
Wed, 26 Jan 2011 15:28:50 +0000 (10:28 -0500)
committersenator <lebbeous@esilibrary.com>
Wed, 26 Jan 2011 15:28:50 +0000 (10:28 -0500)
Open-ILS/web/templates/default/opac/myopac/_links.tt2
Open-ILS/web/templates/default/opac/myopac/circs.tt2 [new file with mode: 0644]
Open-ILS/web/templates/default/opac/myopac/holds.tt2 [new file with mode: 0644]
Open-ILS/web/templates/default/opac/myopac/items_held.tt2 [deleted file]
Open-ILS/web/templates/default/opac/myopac/items_out.tt2 [deleted file]

index 4ab11d4..bbac0ae 100644 (file)
@@ -1,8 +1,8 @@
 [%
 pages = [
     {url => "main", name => "My Account"},
-    {url => "items_out", name => "Items Out"},
-    {url => "items_held", name => "Items on Hold"},
+    {url => "circs", name => "Items Out"},
+    {url => "holds", name => "Items on Hold"},
     {url => "fines", name => "Fines"},
     {url => "prefs", name => "Account Preferences"},
     {url => "bookbags", name => "My Bookbags"}
diff --git a/Open-ILS/web/templates/default/opac/myopac/circs.tt2 b/Open-ILS/web/templates/default/opac/myopac/circs.tt2
new file mode 100644 (file)
index 0000000..9e80139
--- /dev/null
@@ -0,0 +1,24 @@
+[% BLOCK html_head %]
+<style>
+    table { width: 100%; text-align: center; padding: 20px; margin-top: 30px; }
+    table { border-collapse: collapse; }
+    table { padding: 3px; border-bottom: 1px solid #ddd; text-align: left;}
+    table tr:nth-child(odd) { background-color:#ded; }
+</style>
+[% END %]
+
+[% WRAPPER "default/opac/base.tt2" %]
+[% INCLUDE "default/opac/myopac/_links.tt2" myopac_page = "circs" %]
+<table>
+    <thead>
+        <tr>
+            <th>Title</th>
+            <th>Author</th>
+            <th>Due Date</th>
+            <th>Renewals Remaining</th>
+            <th>Renewals Remaining</th>
+        </tr>
+    </thead>
+</table>
+
+[% END %]
diff --git a/Open-ILS/web/templates/default/opac/myopac/holds.tt2 b/Open-ILS/web/templates/default/opac/myopac/holds.tt2
new file mode 100644 (file)
index 0000000..4f5aee8
--- /dev/null
@@ -0,0 +1,29 @@
+[% BLOCK html_head %]
+<style>
+    table { width: 100%; text-align: center; padding: 20px; margin-top: 30px; }
+    table { border-collapse: collapse; }
+    table { padding: 3px; border-bottom: 1px solid #ddd; text-align: left;}
+    table tr:nth-child(odd) { background-color:#ded; }
+</style>
+[% END %]
+
+[% WRAPPER "default/opac/base.tt2" %]
+[% INCLUDE "default/opac/myopac/_links.tt2" myopac_page = "holds" %]
+<table>
+    <thead>
+        <tr>
+            <th>Title</th>
+            <th>Author</th>
+            <th>Formats</th>
+            <th>Pickup Location</th>
+            <th>Status</th>
+            <th>Active</th>
+            <th>Activate on...</th>
+            <th>Expiration Date</th>
+            <th>Select</th>
+            <th>Edit</th>
+        </tr>
+    </thead>
+</table>
+
+[% END %]
diff --git a/Open-ILS/web/templates/default/opac/myopac/items_held.tt2 b/Open-ILS/web/templates/default/opac/myopac/items_held.tt2
deleted file mode 100644 (file)
index 3954298..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-[% BLOCK html_head %]
-<style>
-    table { width: 100%; text-align: center; padding: 20px; margin-top: 30px; }
-    table { border-collapse: collapse; }
-    table { padding: 3px; border-bottom: 1px solid #ddd; text-align: left;}
-    table tr:nth-child(odd) { background-color:#ded; }
-</style>
-[% END %]
-
-[% WRAPPER "default/opac/base.tt2" %]
-[% INCLUDE "default/opac/myopac/_links.tt2" myopac_page = "items_held" %]
-<table>
-    <thead>
-        <tr>
-            <th>Title</th>
-            <th>Author</th>
-            <th>Formats</th>
-            <th>Pickup Location</th>
-            <th>Status</th>
-            <th>Active</th>
-            <th>Activate on...</th>
-            <th>Expiration Date</th>
-            <th>Select</th>
-            <th>Edit</th>
-        </tr>
-    </thead>
-</table>
-
-[% END %]
diff --git a/Open-ILS/web/templates/default/opac/myopac/items_out.tt2 b/Open-ILS/web/templates/default/opac/myopac/items_out.tt2
deleted file mode 100644 (file)
index ca93991..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-[% BLOCK html_head %]
-<style>
-    table { width: 100%; text-align: center; padding: 20px; margin-top: 30px; }
-    table { border-collapse: collapse; }
-    table { padding: 3px; border-bottom: 1px solid #ddd; text-align: left;}
-    table tr:nth-child(odd) { background-color:#ded; }
-</style>
-[% END %]
-
-[% WRAPPER "default/opac/base.tt2" %]
-[% INCLUDE "default/opac/myopac/_links.tt2" myopac_page = "items_out" %]
-<table>
-    <thead>
-        <tr>
-            <th>Title</th>
-            <th>Author</th>
-            <th>Due Date</th>
-            <th>Renewals Remaining</th>
-            <th>Renewals Remaining</th>
-        </tr>
-    </thead>
-</table>
-
-[% END %]