{* +--------------------------------------------------------------------+ | CiviCRM version 4.4 | +--------------------------------------------------------------------+ | Copyright CiviCRM LLC (c) 2004-2013 | +--------------------------------------------------------------------+ | 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 | +--------------------------------------------------------------------+ *} {* Relationship tab within View Contact - browse, and view relationships for a contact *} {if !empty($cdType) } {include file="CRM/Custom/Form/CustomData.tpl"} {elseif $action neq 16} {* add, update or view *} {include file="CRM/Contact/Form/Relationship.tpl"} {else}
{ts}Relationship{/ts} | {ts}Start{/ts} | {ts}End{/ts} | {ts}City{/ts} | {ts}State/Prov{/ts} | {ts}Email{/ts} | {ts}Phone{/ts} | ||||
---|---|---|---|---|---|---|---|---|---|---|
{$rel.relation}
{if ($rel.cid eq $rel.contact_id_a and $rel.is_permission_a_b eq 1) OR
($rel.cid eq $rel.contact_id_b and $rel.is_permission_b_a eq 1) }
{/if}
{if $rel.description} {$rel.description} {/if} |
{$rel.name} {if ($contactId eq $rel.contact_id_a and $rel.is_permission_a_b eq 1) OR ($contactId eq $rel.contact_id_b and $rel.is_permission_b_a eq 1) } {/if} | {else}{$rel.relation} | {$rel.name} | {/if}{$rel.start_date} | {$rel.end_date} | {$rel.city} | {$rel.state} | {$rel.email} | {$rel.phone} | {$rel.action|replace:'xx':$rel.id} |
{ts}Relationship{/ts} | {ts}Start{/ts} | {ts}End{/ts} | {ts}City{/ts} | {ts}State/Prov{/ts} | {ts}Email{/ts} | {ts}Phone{/ts} | ||||
---|---|---|---|---|---|---|---|---|---|---|
{$rel.relation}
{if $rel.description} {$rel.description} {/if} |
{$rel.name} | {$rel.start_date} | {$rel.end_date} | {$rel.city} | {$rel.state} | {$rel.email} | {$rel.phone} | {$rel.action|replace:'xx':$rel.id} |