From: Vimal Joseph Date: Wed, 14 Jan 2015 16:08:04 +0000 (+0530) Subject: #30 Small text fixes for progress bar creation/editing interface X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=3587fb793484b7bd10de1b8fbe57141fcb36d12e;p=com.zyxware.civiwci.git #30 Small text fixes for progress bar creation/editing interface --- diff --git a/CRM/Wci/Form/ProgressBar.php b/CRM/Wci/Form/ProgressBar.php index 3bc41bf..aa4e567 100644 --- a/CRM/Wci/Form/ProgressBar.php +++ b/CRM/Wci/Form/ProgressBar.php @@ -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( diff --git a/js/addmore.js b/js/addmore.js index 36e4c28..f12ad88 100644 --- a/js/addmore.js +++ b/js/addmore.js @@ -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('

'); + $('#goal_amount').parent().after('

'); }); $("#ProgressBar").validate({ rules: { @@ -107,7 +107,7 @@ cj(function ( $ ) { id_content = "content_enddate-" + count; $('#' + id_section).append("
"); $('#' + id_content).append(''); - $('#' + id_content).append('(Format YYYY-MM-DD)
Date to which contributions to be added to this progress bar. Keep it empty to select contributions up to today'); + $('#' + id_content).append('(Format YYYY-MM-DD)
Date to which contributions to be added to this progress bar. Keep it empty to select contributions up to today.'); $('#' + id_section).append("{$form.$elementName.html} (Format YYYY-MM-DD)
- {ts}Date to which contributions to be added to this progressbar. Keep it empty to select contributions up to today{/ts} + {ts}Date to which contributions to be added to this progressbar. Keep it empty to select contributions up to today.{/ts}
{else}
{$form.$elementName.html}