From: Jagadedes Date: Wed, 29 Oct 2014 06:08:37 +0000 (+0530) Subject: #29759 removed jquery. moved image to below heading X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=b7a6e5f355918bf405061e291c70b730d5b31d37;p=com.zyxware.civiwci.git #29759 removed jquery. moved image to below heading --- diff --git a/templates/CRM/Wci/Form/CreateWidget.tpl b/templates/CRM/Wci/Form/CreateWidget.tpl index 82765f2..d43f6de 100644 --- a/templates/CRM/Wci/Form/CreateWidget.tpl +++ b/templates/CRM/Wci/Form/CreateWidget.tpl @@ -38,14 +38,48 @@
{literal} - {/literal} + {/literal}
diff --git a/templates/CRM/Wci/Page/wciwidget.tpl b/templates/CRM/Wci/Page/wciwidget.tpl index bec44d5..6ee3e24 100644 --- a/templates/CRM/Wci/Page/wciwidget.tpl +++ b/templates/CRM/Wci/Page/wciwidget.tpl @@ -11,7 +11,6 @@ border:1px solid #96C0E7; background-color: {/literal}{$wciform.color_widget_bg}{literal}; /* background color */ border-color:{/literal}{$wciform.color_border}{literal}; /* border color */ - background: {/literal}{if $wciform.image}url('{$wciform.image}'){/if}{literal}; /* background image */ } .crm-wci-widget.thin { @@ -149,6 +148,11 @@ {/if} {$wciform.title} + {if $wciform.image} +
+ +
+ {/if}