From c3f3cbbb3c5e94cf5b1e95d6105ce847ddfb8067 Mon Sep 17 00:00:00 2001 From: Manoj K Date: Thu, 23 Oct 2014 17:46:12 +0530 Subject: [PATCH] #29801 - Fix for warning messages in manage pages of widget and progress bar --- info.xml | 8 ++++---- templates/CRM/Wci/Page/ProgressBarList.tpl | 11 ----------- templates/CRM/Wci/Page/WidgetList.tpl | 13 +------------ 3 files changed, 5 insertions(+), 27 deletions(-) diff --git a/info.xml b/info.xml index 1ee62f6..7a6d9ea 100644 --- a/info.xml +++ b/info.xml @@ -5,11 +5,11 @@ CiviCRM CMS independent Widget Creation Interface. AGPL-3.0 - Manoj K - manoj.k@zyxware.com + Manoj K, Jagadees Pillai + manoj.k@zyxware.com, jagadees.pillai@zyxware.com - 2014-09-04 - 1.0-alpha1 + 2014-10-23 + 1.0-alpha2 alpha 4.2 diff --git a/templates/CRM/Wci/Page/ProgressBarList.tpl b/templates/CRM/Wci/Page/ProgressBarList.tpl index 97d869c..3087fb8 100644 --- a/templates/CRM/Wci/Page/ProgressBarList.tpl +++ b/templates/CRM/Wci/Page/ProgressBarList.tpl @@ -29,19 +29,12 @@ {include file="CRM/common/pager.tpl" location="top"} {include file="CRM/common/pagerAToZ.tpl"} - {* handle enable/disable actions *} - {include file="CRM/common/enableDisable.tpl"} {include file="CRM/common/jsortable.tpl"} - {**} - {* - {if call_user_func(array('CRM_Campaign_BAO_Campaign','isCampaignEnable'))} - - {/if} *} @@ -49,10 +42,6 @@ {* class="{if NOT $row.is_active} disabled{/if}" *} -{* - {if call_user_func(array('CRM_Campaign_BAO_Campaign','isCampaignEnable'))} - - {/if} *}
{ts}Name{/ts} {ts}Goal Amout{/ts}{ts}Enabled?{/ts}{ts}Campaign{/ts}
{$row.name} {$row.goal_amount}{if $row.is_active eq 1} {ts}Yes{/ts} {else} {ts}No{/ts} {/if}{$row.campaign} {if $row.configureActionLinks} diff --git a/templates/CRM/Wci/Page/WidgetList.tpl b/templates/CRM/Wci/Page/WidgetList.tpl index f6a4588..be882aa 100644 --- a/templates/CRM/Wci/Page/WidgetList.tpl +++ b/templates/CRM/Wci/Page/WidgetList.tpl @@ -14,30 +14,19 @@ {include file="CRM/common/pager.tpl" location="top"} {include file="CRM/common/pagerAToZ.tpl"} - {* handle enable/disable actions *} - {include file="CRM/common/enableDisable.tpl"} {include file="CRM/common/jsortable.tpl"} - {**} - {* - {if call_user_func(array('CRM_Campaign_BAO_Campaign','isCampaignEnable'))} - - {/if} *} - + {foreach from=$rows item=row} {* class="{if NOT $row.is_active} disabled{/if}" *} -{* - {if call_user_func(array('CRM_Campaign_BAO_Campaign','isCampaignEnable'))} - - {/if} *}
{ts}Title{/ts} {ts}Description{/ts}{ts}Enabled?{/ts}{ts}Campaign{/ts}
{$row.title} {$row.description}{if $row.is_active eq 1} {ts}Yes{/ts} {else} {ts}No{/ts} {/if}{$row.campaign} {if $row.configureActionLinks} -- 2.25.1