#30 Small text fixes for progress bar creation/editing interface upstream-master
authorVimal Joseph <vimal.joseph@zyxware.com>
Wed, 14 Jan 2015 16:08:04 +0000 (21:38 +0530)
committerVimal Joseph <vimal.joseph@zyxware.com>
Wed, 14 Jan 2015 16:08:04 +0000 (21:38 +0530)
CRM/Wci/Form/ProgressBar.php
js/addmore.js
templates/CRM/Wci/Form/ProgressBar.tpl

index 3bc41bf6f4c754dcc3f205de1f34caa1c021c6e3..aa4e567ca202e8f8e15358b143dddb73abe2e26d 100644 (file)
@@ -173,7 +173,7 @@ class CRM_Wci_Form_ProgressBar extends CRM_Core_Form {
 
     $this->fillData();
 
-    $this->addElement('link', 'addmore_link',' ', 'addmore', 'Add another contribution page');
+    $this->addElement('link', 'addmore_link',' ', 'addmore', 'Add another contribution page or financial type.');
 
     $this->addButtons(array(
       array(
index 36e4c28fb68e50a6e2448740a963f2ff889badce..f12ad88e97920f7c52e92fbfbd66e01ae836bacb 100644 (file)
@@ -34,7 +34,7 @@ cj(function ( $ ) {
       $('#' + "contribution_start_date_" + i).parent().parent().attr("id", 'crm-section-startdate-' + i);
       $('#' + "contribution_end_date_" + i).parent().parent().attr("id", 'crm-section-enddate-' + i);
     }
-    $('#goal_amount').parent().after('<div class="crm-wci-pb"><hr></div><label><SMALL>Progressbar shows the sum of each percentage of contributions done on each selected contribution page</SMALL></label>');
+    $('#goal_amount').parent().after('<div class="crm-wci-pb"><hr></div><label><SMALL>Progressbar shows the sum of percentage of contributions done on each selected contribution page or financial type.</SMALL></label>');
   });
   $("#ProgressBar").validate({
     rules: {
@@ -107,7 +107,7 @@ cj(function ( $ ) {
     id_content = "content_enddate-" + count;
     $('#' + id_section).append("<div class=\"content\" id="+ id_content + ">");
     $('#' + id_content).append('<input type="text" size="20" id = "enddate_' + count + '" name="enddate_' + count +'" value="" />');
-    $('#' + id_content).append('<span class=\"description\">(Format YYYY-MM-DD)</span><br><span class=\"description\">Date to which contributions to be added to this progress bar. Keep it empty to select contributions up to today</span>');
+    $('#' + id_content).append('<span class=\"description\">(Format YYYY-MM-DD)</span><br><span class=\"description\">Date to which contributions to be added to this progress bar. Keep it empty to select contributions up to today.</span>');
     $('#' + id_section).append("</div");
 
     id_section = "crm-section-per-" + count;
index c51d33181f3fbac47e899b96746ebd49aacbd5dd..a132d8159100987045afc3eff01329be5faed213 100644 (file)
@@ -49,7 +49,7 @@
         <div class="content">{$form.$elementName.html}
           <span class="description">(Format YYYY-MM-DD)</span>
           <br>
-          <span class="description">{ts}Date to which contributions to be added to this progressbar. Keep it empty to select contributions up to today{/ts}</span>
+          <span class="description">{ts}Date to which contributions to be added to this progressbar. Keep it empty to select contributions up to today.{/ts}</span>
         </div>
       {else}
         <div class="content">{$form.$elementName.html}</div>