moved html tags out of text strings
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 2 Mar 2009 16:50:21 +0000 (16:50 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 2 Mar 2009 16:50:21 +0000 (16:50 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@12351 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/web/js/dojo/openils/conify/nls/conify.js
Open-ILS/web/js/ui/default/conify/global/action/survey/edit.js

index 5896fbd..35ef30a 100644 (file)
@@ -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"
 }
 
index 2eea06c..2b78e9e 100644 (file)
@@ -25,7 +25,7 @@ function drawSurvey(svyId) {
     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 @@ function drawSurvey(svyId) {
     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);