{* +--------------------------------------------------------------------+ | CiviCRM version 4.6 | +--------------------------------------------------------------------+ | Copyright CiviCRM LLC (c) 2004-2015 | +--------------------------------------------------------------------+ | This file is a part of CiviCRM. | | | | CiviCRM is free software; you can copy, modify, and distribute it | | under the terms of the GNU Affero General Public License | | Version 3, 19 November 2007 and the CiviCRM Licensing Exception. | | | | CiviCRM is distributed in the hope that it will be useful, but | | WITHOUT ANY WARRANTY; without even the implied warranty of | | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | | See the GNU Affero General Public License for more details. | | | | You should have received a copy of the GNU Affero General Public | | License and the CiviCRM Licensing Exception along | | with this program; if not, contact CiviCRM LLC | | at info[AT]civicrm[DOT]org. If you have questions about the | | GNU Affero General Public License or the licensing of CiviCRM, | | see the CiviCRM license FAQ at http://civicrm.org/licensing | +--------------------------------------------------------------------+ *} {capture assign=docLink}{docURL page="user/organising-your-data/groups-and-tags"}{/capture} {if $action eq 1 or $action eq 2 or $action eq 8} {include file="CRM/Admin/Form/Tag.tpl"} {else}
{ts 1=$docLink}Tags can be assigned to any contact record, and are a convenient way to find contacts. You can create as many tags as needed to organize and segment your records.{/ts} {$docLink}
{if $rows} {if !($action eq 1 and $action eq 2)}
{/if} {include file="CRM/common/jsortable.tpl"}
{strip} {foreach from=$rows item=row key=id } {/foreach}
{ts}Tag{/ts} {ts}ID{/ts} {ts}Description{/ts} {ts}Parent (ID){/ts} {ts}Used For{/ts} {ts}Tag set?{/ts} {ts}Reserved?{/ts}
{$row.name} {$row.id} {$row.description} {$row.parent}{if $row.parent_id} ({$row.parent_id}){/if} {$row.used_for} {if $row.is_tagset}{ts}Tag Set{/ts}{/if} {if $row.is_reserved}{ts}Reserved{/ts}{/if} {$row.action|replace:'xx':$row.id}
{/strip}
{if !($action eq 1 and $action eq 2)}
{/if} {else}
  {capture assign=crmURL}{crmURL p='civicrm/admin/tag' q="action=add&reset=1"}{/capture} {ts 1=$crmURL}There are no Tags present. You can add one.{/ts}
{/if}
{literal} {/literal} {/if}