{* +--------------------------------------------------------------------+ | Copyright CiviCRM LLC. All rights reserved. | | | | This work is published under the GNU AGPLv3 license with some | | permitted exceptions and without any warranty. For full license | | and copyright information, see https://civicrm.org/licensing | +--------------------------------------------------------------------+ *} {* View Case Activities *}
{ts}Created By{/ts} | {ts}Created On{/ts} | |
---|---|---|
{$row.name} | {$row.date|crmDate} | {if $row.id != $latestRevisionID}{ts}View{/ts}{else}{ts}View (Current Revision){/ts}{/if} |
{$row.label} | {if $smarty.foreach.report.first AND ( $activityID OR $parentID OR $latestRevisionID )} {* Add a cell to first row with links to prior revision listing and Prompted by (parent) as appropriate *}{$row.value} |
{if $activityID}» {ts}List all revisions{/ts}{if !$latestRevisionID} {ts}(this is the current revision){/ts}{/if} {/if} {if $latestRevisionID}» {ts}View current revision{/ts} {ts}(this is not the current revision){/ts} {/if} {if $parentID}» {ts}Prompted by{/ts}{/if} |
{else}
{if $row.label eq 'Details'}{$row.value|crmStripAlternatives|nl2br|purify}{elseif $row.type eq 'Date'}{$row.value|crmDate}{else}{$row.value}{/if} | {/if}|
{$groupTitle} | ||||
{$customField.label} | {$customField.value} |