From 15cb4bd748e332885878f9fa111ce6baaff6735f Mon Sep 17 00:00:00 2001 From: Dave Greenberg Date: Mon, 29 Jul 2013 15:19:50 -0700 Subject: [PATCH] CRM-12963 Adding help for badges, changing field label to be consistent w our terminology, use standard Add New markup. ---------------------------------------- * CRM-12963: Event Badge Improvements http://issues.civicrm.org/jira/browse/CRM-12963 --- CRM/Badge/Form/Layout.php | 2 +- templates/CRM/Badge/Form/Layout.tpl | 6 +++--- templates/CRM/Badge/Page/Layout.tpl | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/CRM/Badge/Form/Layout.php b/CRM/Badge/Form/Layout.php index 4d4f2d435c..d1b11f50cd 100644 --- a/CRM/Badge/Form/Layout.php +++ b/CRM/Badge/Form/Layout.php @@ -76,7 +76,7 @@ class CRM_Badge_Form_Layout extends CRM_Admin_Form { $this->add('text', 'title', ts('Title'), CRM_Core_DAO::getAttribute('CRM_Core_DAO_PrintLabel', 'title'), true); $labelStyle = CRM_Core_BAO_LabelFormat::getList(TRUE, 'name_badge'); - $this->add('select', 'label_format_name', ts('Label Style'), array('' => ts('- select -')) + $labelStyle, TRUE); + $this->add('select', 'label_format_name', ts('Label Format'), array('' => ts('- select -')) + $labelStyle, TRUE); $this->add('text', 'description', ts('Description'), CRM_Core_DAO::getAttribute('CRM_Core_DAO_PrintLabel', 'title')); diff --git a/templates/CRM/Badge/Form/Layout.tpl b/templates/CRM/Badge/Form/Layout.tpl index d71163bd8e..e0f9c3527e 100644 --- a/templates/CRM/Badge/Form/Layout.tpl +++ b/templates/CRM/Badge/Form/Layout.tpl @@ -40,7 +40,7 @@ {$form.label_format_name.label} - {$form.label_format_name.html} + {$form.label_format_name.html} {help id="id-label_format"} {$form.description.label} @@ -53,7 +53,7 @@ ({ts}clear{/ts}) -
{ts}Click above and select a file double clicking on it.{/ts} +
{ts}Click above and select a file by double clicking on it.{/ts} @@ -63,7 +63,7 @@ ({ts}clear{/ts}) -
{ts}Click above and select a file double clicking on it.{/ts} +
{ts}Click above and select a file by double clicking on it.{/ts} diff --git a/templates/CRM/Badge/Page/Layout.tpl b/templates/CRM/Badge/Page/Layout.tpl index 75df9831a2..195b9aa899 100644 --- a/templates/CRM/Badge/Page/Layout.tpl +++ b/templates/CRM/Badge/Page/Layout.tpl @@ -69,7 +69,7 @@ {if $action ne 1 and $action ne 2} {/if} -- 2.25.1