[open-ils-commits] r12351 - in trunk/Open-ILS/web/js: dojo/openils/conify/nls ui/default/conify/global/action/survey (erickson)

svn at svn.open-ils.org svn at svn.open-ils.org
Mon Mar 2 11:50:24 EST 2009


Author: erickson
Date: 2009-03-02 11:50:21 -0500 (Mon, 02 Mar 2009)
New Revision: 12351

Modified:
   trunk/Open-ILS/web/js/dojo/openils/conify/nls/conify.js
   trunk/Open-ILS/web/js/ui/default/conify/global/action/survey/edit.js
Log:
moved html tags out of text strings

Modified: trunk/Open-ILS/web/js/dojo/openils/conify/nls/conify.js
===================================================================
--- trunk/Open-ILS/web/js/dojo/openils/conify/nls/conify.js	2009-03-02 16:09:32 UTC (rev 12350)
+++ trunk/Open-ILS/web/js/dojo/openils/conify/nls/conify.js	2009-03-02 16:50:21 UTC (rev 12351)
@@ -83,7 +83,7 @@
         "SURVEY_ADD_ANSWER": "Add Answer",
         "SURVEY_ANSWER": "Answer:",
         "SURVEY_QUESTION": "Question:",
-        "SURVEY_ID": "<h3>Survey ID # ${0}</h3>",
-        "SURVEY_FOOT_LABEL": "<h3>Questions & Answers</h3>"
+        "SURVEY_ID": "Survey ID # ${0}",
+        "SURVEY_FOOT_LABEL": "Questions & Answers"
 }
 

Modified: trunk/Open-ILS/web/js/ui/default/conify/global/action/survey/edit.js
===================================================================
--- trunk/Open-ILS/web/js/ui/default/conify/global/action/survey/edit.js	2009-03-02 16:09:32 UTC (rev 12350)
+++ trunk/Open-ILS/web/js/ui/default/conify/global/action/survey/edit.js	2009-03-02 16:50:21 UTC (rev 12351)
@@ -25,7 +25,7 @@
     var surveyTable = dojo.byId('edit-pane');
     var surveyHead = dojo.create('thead', {style: "background-color: #99CCFF"},  surveyTable);
     var headRow = dojo.create('tr', null,  surveyHead);
-    var headCell = dojo.create('td', {innerHTML: dojo.string.substitute(localeStrings.SURVEY_ID, [svyId]), style: "width: 100%"}, headRow);
+    var headCell = dojo.create('td', {innerHTML: "<h3>" +dojo.string.substitute(localeStrings.SURVEY_ID, [svyId])+"</h3>", style: "width: 100%"}, headRow);
     var pcrud = new openils.PermaCrud();
     var survey = pcrud.retrieve('asv', svyId);
     startDate = dojo.date.stamp.fromISOString(survey.start_date());
@@ -40,7 +40,7 @@
     pane.startup();
     var surveyFoot = dojo.create('tfoot', {style: "background-color: #99CCFF"}, surveyTable);
     var footRow = dojo.create('tr', { style: "width: 100%"}, surveyFoot);  
-    var footLabel = dojo.create('td', {innerHTML: localeStrings.SURVEY_FOOT_LABEL, style: "width: 100%"}, footRow);
+    var footLabel = dojo.create('td', {innerHTML: "<h3>"+localeStrings.SURVEY_FOOT_LABEL+"</h3>", style: "width: 100%"}, footRow);
     var footCell = dojo.create('td', {innerHTML: "<hr>", style: "width: 100%"}, footRow);
     getQuestions(svyId, survey);
 



More information about the open-ils-commits mailing list