{*
+--------------------------------------------------------------------+
- | CiviCRM version 4.6 |
+ | CiviCRM version 4.7 |
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2014 |
+ | Copyright CiviCRM LLC (c) 2004-2015 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
+--------------------------------------------------------------------+
*}
{* this template is used for adding/editing/viewing relationships *}
-{if $cdType }
- {include file="CRM/Custom/Form/CustomData.tpl"}
-{else}
+
{if $action eq 4 } {* action = view *}
<div class="crm-block crm-content-block crm-relationship-view-block">
<table class="crm-info-panel">
</div>
{/if}
{if ($action EQ 1) OR ($action EQ 2) }
- {*include custom data js file - setting includeWysiwygEditor=TRUE because it's already been loaded*}
- {include file="CRM/common/customData.tpl" includeWysiwygEditor=TRUE}
+ {*include custom data js file *}
+ {include file="CRM/common/customData.tpl"}
<script type="text/javascript">
{literal}
CRM.$(function($) {
</div>
{/if}
<div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="bottom"}</div>
-{/if} {* close of custom data else*}
-