[open-ils-commits] r17248 - in trunk/Open-ILS/web/templates/default/conify/global: acq asset config permission (atz)
svn at svn.open-ils.org
svn at svn.open-ils.org
Wed Aug 18 12:48:31 EDT 2010
Author: atz
Date: 2010-08-18 12:48:28 -0400 (Wed, 18 Aug 2010)
New Revision: 17248
Modified:
trunk/Open-ILS/web/templates/default/conify/global/acq/cancel_reason.tt2
trunk/Open-ILS/web/templates/default/conify/global/acq/claim_event_type.tt2
trunk/Open-ILS/web/templates/default/conify/global/acq/claim_policy.tt2
trunk/Open-ILS/web/templates/default/conify/global/acq/claim_policy_action.tt2
trunk/Open-ILS/web/templates/default/conify/global/acq/claim_type.tt2
trunk/Open-ILS/web/templates/default/conify/global/acq/distribution_formula.tt2
trunk/Open-ILS/web/templates/default/conify/global/acq/exchange_rate.tt2
trunk/Open-ILS/web/templates/default/conify/global/acq/fund_tag.tt2
trunk/Open-ILS/web/templates/default/conify/global/acq/invoice_item_type.tt2
trunk/Open-ILS/web/templates/default/conify/global/acq/invoice_payment_method.tt2
trunk/Open-ILS/web/templates/default/conify/global/acq/lineitem_alert.tt2
trunk/Open-ILS/web/templates/default/conify/global/acq/lineitem_marc_attr_def.tt2
trunk/Open-ILS/web/templates/default/conify/global/asset/copy_location_order.tt2
trunk/Open-ILS/web/templates/default/conify/global/config/billing_type.tt2
trunk/Open-ILS/web/templates/default/conify/global/config/circ_matrix_matchpoint.tt2
trunk/Open-ILS/web/templates/default/conify/global/config/hold_matrix_matchpoint.tt2
trunk/Open-ILS/web/templates/default/conify/global/config/idl_field_doc.tt2
trunk/Open-ILS/web/templates/default/conify/global/config/z3950_source.tt2
trunk/Open-ILS/web/templates/default/conify/global/permission/grp_penalty_threshold.tt2
Log:
Fixup ctx.page_title and script type declarations
Some had ctc.page_title, another had page_titel, but most didn't have any.
Modified: trunk/Open-ILS/web/templates/default/conify/global/acq/cancel_reason.tt2
===================================================================
--- trunk/Open-ILS/web/templates/default/conify/global/acq/cancel_reason.tt2 2010-08-18 16:40:33 UTC (rev 17247)
+++ trunk/Open-ILS/web/templates/default/conify/global/acq/cancel_reason.tt2 2010-08-18 16:48:28 UTC (rev 17248)
@@ -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>
Modified: trunk/Open-ILS/web/templates/default/conify/global/acq/claim_event_type.tt2
===================================================================
--- trunk/Open-ILS/web/templates/default/conify/global/acq/claim_event_type.tt2 2010-08-18 16:40:33 UTC (rev 17247)
+++ trunk/Open-ILS/web/templates/default/conify/global/acq/claim_event_type.tt2 2010-08-18 16:48:28 UTC (rev 17248)
@@ -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(
Modified: trunk/Open-ILS/web/templates/default/conify/global/acq/claim_policy.tt2
===================================================================
--- trunk/Open-ILS/web/templates/default/conify/global/acq/claim_policy.tt2 2010-08-18 16:40:33 UTC (rev 17247)
+++ trunk/Open-ILS/web/templates/default/conify/global/acq/claim_policy.tt2 2010-08-18 16:48:28 UTC (rev 17248)
@@ -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(
Modified: trunk/Open-ILS/web/templates/default/conify/global/acq/claim_policy_action.tt2
===================================================================
--- trunk/Open-ILS/web/templates/default/conify/global/acq/claim_policy_action.tt2 2010-08-18 16:40:33 UTC (rev 17247)
+++ trunk/Open-ILS/web/templates/default/conify/global/acq/claim_policy_action.tt2 2010-08-18 16:48:28 UTC (rev 17248)
@@ -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(
Modified: trunk/Open-ILS/web/templates/default/conify/global/acq/claim_type.tt2
===================================================================
--- trunk/Open-ILS/web/templates/default/conify/global/acq/claim_type.tt2 2010-08-18 16:40:33 UTC (rev 17247)
+++ trunk/Open-ILS/web/templates/default/conify/global/acq/claim_type.tt2 2010-08-18 16:48:28 UTC (rev 17248)
@@ -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(
Modified: trunk/Open-ILS/web/templates/default/conify/global/acq/distribution_formula.tt2
===================================================================
--- trunk/Open-ILS/web/templates/default/conify/global/acq/distribution_formula.tt2 2010-08-18 16:40:33 UTC (rev 17247)
+++ trunk/Open-ILS/web/templates/default/conify/global/acq/distribution_formula.tt2 2010-08-18 16:48:28 UTC (rev 17248)
@@ -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 @@
</div>
-
<div id='formula-entry-div'>
<div dojoType="dijit.layout.ContentPane" layoutAlign="client">
<div id='formula-summary-pane'/>
Modified: trunk/Open-ILS/web/templates/default/conify/global/acq/exchange_rate.tt2
===================================================================
--- trunk/Open-ILS/web/templates/default/conify/global/acq/exchange_rate.tt2 2010-08-18 16:40:33 UTC (rev 17247)
+++ trunk/Open-ILS/web/templates/default/conify/global/acq/exchange_rate.tt2 2010-08-18 16:48:28 UTC (rev 17248)
@@ -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');
Modified: trunk/Open-ILS/web/templates/default/conify/global/acq/fund_tag.tt2
===================================================================
--- trunk/Open-ILS/web/templates/default/conify/global/acq/fund_tag.tt2 2010-08-18 16:40:33 UTC (rev 17247)
+++ trunk/Open-ILS/web/templates/default/conify/global/acq/fund_tag.tt2 2010-08-18 16:48:28 UTC (rev 17248)
@@ -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">
Modified: trunk/Open-ILS/web/templates/default/conify/global/acq/invoice_item_type.tt2
===================================================================
--- trunk/Open-ILS/web/templates/default/conify/global/acq/invoice_item_type.tt2 2010-08-18 16:40:33 UTC (rev 17247)
+++ trunk/Open-ILS/web/templates/default/conify/global/acq/invoice_item_type.tt2 2010-08-18 16:48:28 UTC (rev 17248)
@@ -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");
Modified: trunk/Open-ILS/web/templates/default/conify/global/acq/invoice_payment_method.tt2
===================================================================
--- trunk/Open-ILS/web/templates/default/conify/global/acq/invoice_payment_method.tt2 2010-08-18 16:40:33 UTC (rev 17247)
+++ trunk/Open-ILS/web/templates/default/conify/global/acq/invoice_payment_method.tt2 2010-08-18 16:48:28 UTC (rev 17248)
@@ -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");
Modified: trunk/Open-ILS/web/templates/default/conify/global/acq/lineitem_alert.tt2
===================================================================
--- trunk/Open-ILS/web/templates/default/conify/global/acq/lineitem_alert.tt2 2010-08-18 16:40:33 UTC (rev 17247)
+++ trunk/Open-ILS/web/templates/default/conify/global/acq/lineitem_alert.tt2 2010-08-18 16:48:28 UTC (rev 17248)
@@ -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 -->
Modified: trunk/Open-ILS/web/templates/default/conify/global/acq/lineitem_marc_attr_def.tt2
===================================================================
--- trunk/Open-ILS/web/templates/default/conify/global/acq/lineitem_marc_attr_def.tt2 2010-08-18 16:40:33 UTC (rev 17247)
+++ trunk/Open-ILS/web/templates/default/conify/global/acq/lineitem_marc_attr_def.tt2 2010-08-18 16:48:28 UTC (rev 17248)
@@ -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 -->
Modified: trunk/Open-ILS/web/templates/default/conify/global/asset/copy_location_order.tt2
===================================================================
--- trunk/Open-ILS/web/templates/default/conify/global/asset/copy_location_order.tt2 2010-08-18 16:40:33 UTC (rev 17247)
+++ trunk/Open-ILS/web/templates/default/conify/global/asset/copy_location_order.tt2 2010-08-18 16:48:28 UTC (rev 17248)
@@ -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'>
Modified: trunk/Open-ILS/web/templates/default/conify/global/config/billing_type.tt2
===================================================================
--- trunk/Open-ILS/web/templates/default/conify/global/config/billing_type.tt2 2010-08-18 16:40:33 UTC (rev 17247)
+++ trunk/Open-ILS/web/templates/default/conify/global/config/billing_type.tt2 2010-08-18 16:48:28 UTC (rev 17248)
@@ -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 -->
Modified: trunk/Open-ILS/web/templates/default/conify/global/config/circ_matrix_matchpoint.tt2
===================================================================
--- trunk/Open-ILS/web/templates/default/conify/global/config/circ_matrix_matchpoint.tt2 2010-08-18 16:40:33 UTC (rev 17247)
+++ trunk/Open-ILS/web/templates/default/conify/global/config/circ_matrix_matchpoint.tt2 2010-08-18 16:48:28 UTC (rev 17248)
@@ -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>
Modified: trunk/Open-ILS/web/templates/default/conify/global/config/hold_matrix_matchpoint.tt2
===================================================================
--- trunk/Open-ILS/web/templates/default/conify/global/config/hold_matrix_matchpoint.tt2 2010-08-18 16:40:33 UTC (rev 17247)
+++ trunk/Open-ILS/web/templates/default/conify/global/config/hold_matrix_matchpoint.tt2 2010-08-18 16:48:28 UTC (rev 17248)
@@ -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');
Modified: trunk/Open-ILS/web/templates/default/conify/global/config/idl_field_doc.tt2
===================================================================
--- trunk/Open-ILS/web/templates/default/conify/global/config/idl_field_doc.tt2 2010-08-18 16:40:33 UTC (rev 17247)
+++ trunk/Open-ILS/web/templates/default/conify/global/config/idl_field_doc.tt2 2010-08-18 16:48:28 UTC (rev 17248)
@@ -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>
Modified: trunk/Open-ILS/web/templates/default/conify/global/config/z3950_source.tt2
===================================================================
--- trunk/Open-ILS/web/templates/default/conify/global/config/z3950_source.tt2 2010-08-18 16:40:33 UTC (rev 17247)
+++ trunk/Open-ILS/web/templates/default/conify/global/config/z3950_source.tt2 2010-08-18 16:48:28 UTC (rev 17248)
@@ -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">
Modified: trunk/Open-ILS/web/templates/default/conify/global/permission/grp_penalty_threshold.tt2
===================================================================
--- trunk/Open-ILS/web/templates/default/conify/global/permission/grp_penalty_threshold.tt2 2010-08-18 16:40:33 UTC (rev 17247)
+++ trunk/Open-ILS/web/templates/default/conify/global/permission/grp_penalty_threshold.tt2 2010-08-18 16:48:28 UTC (rev 17248)
@@ -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>
More information about the open-ils-commits
mailing list