From: Manoj K Date: Thu, 23 Oct 2014 12:16:12 +0000 (+0530) Subject: #29801 - Fix for warning messages in manage pages of widget and progress bar X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=c3f3cbbb3c5e94cf5b1e95d6105ce847ddfb8067;p=com.zyxware.civiwci.git #29801 - Fix for warning messages in manage pages of widget and progress bar --- 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}