From 3587fb793484b7bd10de1b8fbe57141fcb36d12e Mon Sep 17 00:00:00 2001 From: Vimal Joseph Date: Wed, 14 Jan 2015 21:38:04 +0530 Subject: [PATCH] #30 Small text fixes for progress bar creation/editing interface --- CRM/Wci/Form/ProgressBar.php | 2 +- js/addmore.js | 4 ++-- templates/CRM/Wci/Form/ProgressBar.tpl | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) 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}
-- 2.25.1