From b7a6e5f355918bf405061e291c70b730d5b31d37 Mon Sep 17 00:00:00 2001 From: Jagadedes Date: Wed, 29 Oct 2014 11:38:37 +0530 Subject: [PATCH] #29759 removed jquery. moved image to below heading --- templates/CRM/Wci/Form/CreateWidget.tpl | 50 +++++++++++++++++++++---- templates/CRM/Wci/Page/wciwidget.tpl | 6 ++- 2 files changed, 47 insertions(+), 9 deletions(-) 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}
-- 2.25.1