CRM-16415 - convert button to crmButton - Campaign/Form/Search/Campaign.tpl
authorStephanie Gray <stephanie@freeform.ca>
Wed, 30 Sep 2015 18:07:35 +0000 (14:07 -0400)
committerColeman Watts <coleman@civicrm.org>
Tue, 13 Oct 2015 18:50:12 +0000 (14:50 -0400)
templates/CRM/Campaign/Form/Search/Campaign.tpl

index 79022a11b6a399e1091988dadefe7fbe67f96df7..082f1f509837377422cff7c927ce97b6a78fb21d 100755 (executable)
@@ -31,7 +31,7 @@
     {ts}None found.{/ts}
   </div>
   <div class="action-link">
-    <a href="{crmURL p='civicrm/campaign/add' q='reset=1' h=0 }" class="button"><span><i class="crm-i fa-plus-circle"></i> {ts}Add Campaign{/ts}</span></a>
+    {crmButton p="civicrm/campaign/add" q="reset=1" icon="crm-i fa-plus-circle" h=0}{ts}Add Campaign{/ts}{/crmButton}
   </div>
 {elseif $buildSelector}
 
@@ -68,7 +68,7 @@
   </table>
 {else}
   <div class="action-link">
-    <a href="{crmURL p='civicrm/campaign/add' q='reset=1' h=0 }" class="button"><span><i class="crm-i fa-plus-circle"></i> {ts}Add Campaign{/ts}</span></a>
+    {crmButton p="civicrm/campaign/add" q="reset=1" icon="crm-i fa-plus-circle" h=0}{ts}Add Campaign{/ts}{/crmButton}
   </div>
 {* build search form here *}