Fixup ctx.page_title and script type declarations
authoratz <atz@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 18 Aug 2010 16:48:28 +0000 (16:48 +0000)
committeratz <atz@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 18 Aug 2010 16:48:28 +0000 (16:48 +0000)
Some had ctc.page_title, another had page_titel, but most didn't have any.

git-svn-id: svn://svn.open-ils.org/ILS/trunk@17248 dcc99617-32d9-48b4-a31d-7c20da2025e4

19 files changed:
Open-ILS/web/templates/default/conify/global/acq/cancel_reason.tt2
Open-ILS/web/templates/default/conify/global/acq/claim_event_type.tt2
Open-ILS/web/templates/default/conify/global/acq/claim_policy.tt2
Open-ILS/web/templates/default/conify/global/acq/claim_policy_action.tt2
Open-ILS/web/templates/default/conify/global/acq/claim_type.tt2
Open-ILS/web/templates/default/conify/global/acq/distribution_formula.tt2
Open-ILS/web/templates/default/conify/global/acq/exchange_rate.tt2
Open-ILS/web/templates/default/conify/global/acq/fund_tag.tt2
Open-ILS/web/templates/default/conify/global/acq/invoice_item_type.tt2
Open-ILS/web/templates/default/conify/global/acq/invoice_payment_method.tt2
Open-ILS/web/templates/default/conify/global/acq/lineitem_alert.tt2
Open-ILS/web/templates/default/conify/global/acq/lineitem_marc_attr_def.tt2
Open-ILS/web/templates/default/conify/global/asset/copy_location_order.tt2
Open-ILS/web/templates/default/conify/global/config/billing_type.tt2
Open-ILS/web/templates/default/conify/global/config/circ_matrix_matchpoint.tt2
Open-ILS/web/templates/default/conify/global/config/hold_matrix_matchpoint.tt2
Open-ILS/web/templates/default/conify/global/config/idl_field_doc.tt2
Open-ILS/web/templates/default/conify/global/config/z3950_source.tt2
Open-ILS/web/templates/default/conify/global/permission/grp_penalty_threshold.tt2

index 133c2cf..4595ab6 100644 (file)
@@ -1,10 +1,10 @@
 [% WRAPPER default/base.tt2 %]
-[% ctx.page_titel = 'Cancel Reasons' %]
-<script src='[% ctx.media_prefix %]/js/ui/default/conify/global/acq/cancel_reason.js'> </script>
+[% ctx.page_title = 'Cancel Reasons' %]
+<script type="text/javascript" src='[% ctx.media_prefix %]/js/ui/default/conify/global/acq/cancel_reason.js'> </script>
 
 <!-- grid -->
 
- <div dojoType="dijit.layout.ContentPane" layoutAlign="client">
+<div dojoType="dijit.layout.ContentPane" layoutAlign="client">
         <div dojoType="dijit.layout.ContentPane" layoutAlign="top" class='oils-header-panel'>
             <div>PO / Item / Request Cancellation Reasons</div>
             <div>
index cea3cd3..0777455 100644 (file)
@@ -1,4 +1,5 @@
 [% WRAPPER default/base.tt2 %]
+[% ctx.page_title = 'Claim Event Types' %]
 <script type="text/javascript" src="[% ctx.media_prefix %]/js/ui/default/conify/global/acq/claim_grid.js"></script>
 <script type="text/javascript">
 openils.Util.addOnLoad(
index b1d45f3..de982fa 100644 (file)
@@ -1,4 +1,6 @@
 [% WRAPPER default/base.tt2 %]
+[% ctx.page_title = 'Claim Policies' %]
+
 <script type="text/javascript" src="[% ctx.media_prefix %]/js/ui/default/conify/global/acq/claim_grid.js"></script>
 <script type="text/javascript">
 openils.Util.addOnLoad(
index 7eff203..9fdfadb 100644 (file)
@@ -1,4 +1,6 @@
 [% WRAPPER default/base.tt2 %]
+[% ctx.page_title = 'Claim Policy Actions' %]
+
 <script type="text/javascript" src="[% ctx.media_prefix %]/js/ui/default/conify/global/acq/claim_grid.js"></script>
 <script type="text/javascript">
 openils.Util.addOnLoad(
index e61a854..77cf875 100644 (file)
@@ -1,4 +1,6 @@
 [% WRAPPER default/base.tt2 %]
+[% ctx.page_title = 'Claim Types' %]
+
 <script type="text/javascript" src="[% ctx.media_prefix %]/js/ui/default/conify/global/acq/claim_grid.js"></script>
 <script type="text/javascript">
 openils.Util.addOnLoad(
index 67a4840..ab31594 100644 (file)
@@ -1,26 +1,25 @@
 [% WRAPPER default/base.tt2 %]
+[% ctx.page_title = 'Distribution Formulas' %]
 <script type="text/javascript" src='[% ctx.media_prefix %]/js/ui/default/conify/global/acq/distribution_formula.js'></script>
 <script type="text/javascript"> var formulaId = '[% ctx.page_args.0 %]';
 
 function getFormulaName(rowIndex, item) {
-        if(!item) return '';
-        var name = this.grid.store.getValue(item, 'name');
-        var id = this.grid.store.getValue(item, 'id');
-        return id + ':' + name;
-    }
+    if(!item) return '';
+    var name = this.grid.store.getValue(item, 'name');
+    var id = this.grid.store.getValue(item, 'id');
+    return id + ':' + name;
+}
 
 function formatName(value) {
-        if(value) {
-            var vals = value.split(/:/);
-            return '<a href="'+location.href+ '/'+vals[0]+'">'+vals[1]+'</a>';
-        }
+    if(value) {
+        var vals = value.split(/:/);
+        return '<a href="'+location.href+ '/'+vals[0]+'">'+vals[1]+'</a>';
+    }
 }
 
 </script>
 
 
-
-
 <div id='formula-list-div'>
     <div dojoType="dijit.layout.ContentPane" layoutAlign="client">
         <div dojoType="dijit.layout.ContentPane" layoutAlign="client" class='oils-header-panel'>
@@ -48,7 +47,6 @@ function formatName(value) {
 </div>
 
 
-
 <div id='formula-entry-div'>
     <div dojoType="dijit.layout.ContentPane" layoutAlign="client">
         <div id='formula-summary-pane'/>
index 1c0afbf..937e99f 100644 (file)
@@ -1,4 +1,5 @@
 [% WRAPPER default/base.tt2 %]
+[% ctx.page_title = 'Exchange Rates' %]
 <script type="text/javascript">
     dojo.require('openils.widget.AutoGrid');
     dojo.require('dijit.form.FilteringSelect');
index 6efe89e..b3368b3 100644 (file)
@@ -1,5 +1,6 @@
 [% WRAPPER default/base.tt2 %]
-<script src="[% ctx.media_prefix %]/js/ui/default/conify/global/acq/fund_tag.js"> </script>
+[% ctx.page_title = 'Fund Tags' %]
+<script type="text/javascript" src="[% ctx.media_prefix %]/js/ui/default/conify/global/acq/fund_tag.js"> </script>
 <div dojoType="dijit.layout.ContentPane" layoutAlign="client">
     <div dojoType="dijit.layout.ContentPane"
          layoutAlign="top" class="oils-header-panel">
index f87a0f4..3729442 100644 (file)
@@ -1,4 +1,5 @@
 [% WRAPPER default/base.tt2 %]
+[% ctx.page_title = 'Invoice Item Types' %]
 <script type="text/javascript">
     dojo.require("openils.widget.AutoGrid");
     dojo.require("dijit.form.FilteringSelect");
index 437cc57..610b86c 100644 (file)
@@ -1,4 +1,5 @@
 [% WRAPPER default/base.tt2 %]
+[% ctx.page_title = 'Invoice Payment Methods' %]
 <script type="text/javascript">
     dojo.require("openils.widget.AutoGrid");
     dojo.require("dijit.form.FilteringSelect");
index b528a33..33079c0 100644 (file)
@@ -1,5 +1,6 @@
 [% WRAPPER default/base.tt2 %]
-<script src='[% ctx.media_prefix %]/js/ui/default/conify/global/acq/lineitem_alert.js'> </script>
+[% ctx.page_title = 'Line Item Alerts' %]
+<script type="text/javascript" src='[% ctx.media_prefix %]/js/ui/default/conify/global/acq/lineitem_alert.js'> </script>
 
 <!-- grid -->
 
index b2ac860..efa0295 100644 (file)
@@ -1,5 +1,6 @@
 [% WRAPPER default/base.tt2 %]
-<script src='[% ctx.media_prefix %]/js/ui/default/conify/global/acq/lineitem_marc_attr_def.js'> </script>
+[% ctx.page_title = 'Line Item MARC Attributes' %]
+<script type="text/javascript" src='[% ctx.media_prefix %]/js/ui/default/conify/global/acq/lineitem_marc_attr_def.js'> </script>
 
 <!-- grid -->
 
index ca574ed..77548af 100644 (file)
@@ -1,6 +1,6 @@
 [% WRAPPER default/base.tt2 %]
 [% ctx.page_title = 'Copy Location Order' %]
-<script src='[% ctx.media_prefix %]/js/ui/default/conify/global/asset/copy_location_order.js'> </script>
+<script type="text/javascript" src='[% ctx.media_prefix %]/js/ui/default/conify/global/asset/copy_location_order.js'> </script>
 <link rel='stylesheet' type='text/css' href='[% ctx.media_prefix %]/js/dojo/dojo/resources/dnd.css'/>
 
 <div dojoType="dijit.layout.ContentPane" layoutAlign="client" class='oils-header-panel'>
index 80873b6..8811067 100644 (file)
@@ -1,5 +1,6 @@
 [% WRAPPER default/base.tt2 %]
-<script src='[% ctx.media_prefix %]/js/ui/default/conify/global/config/billing_type.js'> </script>
+[% ctx.page_title = 'Billing Types' %]
+<script type="text/javascript" src='[% ctx.media_prefix %]/js/ui/default/conify/global/config/billing_type.js'> </script>
 
 <!-- grid -->
 
index 9bf0851..b62042b 100644 (file)
@@ -1,6 +1,6 @@
-[% ctc.page_title = 'Circulation Policy Configuration' %]
+[% ctx.page_title = 'Circulation Policy Configuration' %]
 [% WRAPPER default/base.tt2 %]
-<script src='[% ctx.media_prefix %]/js/ui/default/conify/global/config/circ_matrix_matchpoint.js'> </script>
+<script type="text/javascript" src='[% ctx.media_prefix %]/js/ui/default/conify/global/config/circ_matrix_matchpoint.js'> </script>
 <div dojoType="dijit.layout.ContentPane" layoutAlign="top" class='oils-header-panel'>
     <div>Circulation Policy Configuration</div>
     <div><button dojoType='dijit.form.Button' onClick='cmGrid.showCreatePane()'>New</button></div>
index 150d673..e7024fb 100644 (file)
@@ -1,4 +1,4 @@
-[% ctc.page_title = 'Hold Policy Configuration' %]
+[% ctx.page_title = 'Hold Policy Configuration' %]
 [% WRAPPER default/base.tt2 %]
 <script type="text/javascript">
     dojo.require('dijit.layout.ContentPane');
index 50e68ab..9f6ac06 100644 (file)
@@ -1,5 +1,6 @@
 [% WRAPPER default/base.tt2 %]
-<script src='[% ctx.media_prefix %]/js/ui/default/conify/global/config/idl_field_doc.js'> </script>
+[% ctx.page_title = 'Field Documentation' %]
+<script type="text/javascript" src='[% ctx.media_prefix %]/js/ui/default/conify/global/config/idl_field_doc.js'> </script>
 <table style='width:100%;margin-bottom:10px;'>
     <tr>
         <td align='left'><h3>Field Documentation</h3></td>
index 27da006..67063d0 100644 (file)
@@ -1,5 +1,6 @@
 [% WRAPPER default/base.tt2 %]
-<script src='[% ctx.media_prefix %]/js/ui/default/conify/global/config/z3950_source.js'> </script>
+[% ctx.page_title = 'Z39.50 Servers' %]
+<script type="text/javascript" src='[% ctx.media_prefix %]/js/ui/default/conify/global/config/z3950_source.js'> </script>
 
 <div dojoType="dijit.layout.ContentPane" layoutAlign="client">
 
index 0287b26..c2e379d 100644 (file)
@@ -1,5 +1,6 @@
 [% WRAPPER default/base.tt2 %]
-<script src='[% ctx.media_prefix %]/js/ui/default/conify/global/permission/grp_penalty_threshold.js'> </script>    
+[% ctx.page_title = 'Group Penalty Thresholds' %]
+<script type="text/javascript" src='[% ctx.media_prefix %]/js/ui/default/conify/global/permission/grp_penalty_threshold.js'> </script>    
 
 <div dojoType="dijit.layout.ContentPane" layoutAlign="client" class='oils-header-panel'>
     <div>Penalty Threshold</div>