From 9545c40d2b6e498993f696e03fd3687aec34bf8e Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Fri, 24 Jan 2014 22:23:12 -0800 Subject: [PATCH] Tag & search js cleanup --- templates/CRM/Tag/Form/Tag.tpl | 42 ++++++---------------------------- templates/CRM/common/pager.tpl | 2 +- 2 files changed, 8 insertions(+), 36 deletions(-) diff --git a/templates/CRM/Tag/Form/Tag.tpl b/templates/CRM/Tag/Form/Tag.tpl index cb04d2f3aa..a3af1786ef 100644 --- a/templates/CRM/Tag/Form/Tag.tpl +++ b/templates/CRM/Tag/Form/Tag.tpl @@ -24,24 +24,20 @@ +--------------------------------------------------------------------+ *} {* this template is used for adding/editing tags *} +{literal}

{if !$hideContext}{ts}Tags{/ts}{/if}

-

- {if $action eq 16} - {if $permission EQ 'edit'} - {capture assign=crmURL}{crmURL p='civicrm/contact/view/tag' q='action=update'}{/capture} - {ts 1=$displayName 2=$crmURL}Current tags for %1 are highlighted. You can add or remove tags from Edit Tags.{/ts} - {else} - {ts}Current tags are highlighted.{/ts} - {/if} - {else} - {if !$hideContext} - {ts}Mark or unmark the checkboxes, and click 'Update Tags' to modify tags.{/ts} - {/if} - {/if} -

    {foreach from=$tree item="node" key="id"} @@ -127,17 +110,6 @@ {/foreach}
- -{* Show Edit Tags link if in View mode *} -{if $permission EQ 'edit' AND $action eq 16} - - - {else} -
{$form.buttons.html}
- -{/if}
{include file="CRM/common/Tag.tpl" context="contactTab"}
diff --git a/templates/CRM/common/pager.tpl b/templates/CRM/common/pager.tpl index a3b7b75b0f..83f36e2f4f 100644 --- a/templates/CRM/common/pager.tpl +++ b/templates/CRM/common/pager.tpl @@ -65,7 +65,7 @@ currentPage = {$pager->_response.currentPage}, perPageCount = {$pager->_perPage}, currentLocation = {$pager->_response.currentLocation|json_encode}, - spinning = null; + spinning = null, refreshing = false; {literal} function refresh(url) { -- 2.25.1