Commit | Line | Data |
---|---|---|
6a488035 TO |
1 | {* |
2 | +--------------------------------------------------------------------+ | |
1188c7a8 | 3 | | Copyright CiviCRM LLC. All rights reserved. | |
6a488035 | 4 | | | |
1188c7a8 TO |
5 | | This work is published under the GNU AGPLv3 license with some | |
6 | | permitted exceptions and without any warranty. For full license | | |
7 | | and copyright information, see https://civicrm.org/licensing | | |
6a488035 TO |
8 | +--------------------------------------------------------------------+ |
9 | *} | |
10 | <div class="crm-block crm-content-block crm-report-form-block"> | |
11 | {if $rows} | |
50781887 | 12 | <p>{ts 1=$whom_url 2=$whom_name|escape 3=$who_url 4=$who_name|escape 5=$log_date}Change to <a href='%1'>%2</a> made by <a href='%3'>%4</a> on %5:{/ts}</p> |
6a488035 TO |
13 | {if $layout eq 'overlay'} |
14 | {include file="CRM/Report/Form/Layout/Overlay.tpl"} | |
fd68e05b | 15 | {else} |
6a488035 TO |
16 | {include file="CRM/Report/Form/Layout/Table.tpl"} |
17 | {/if} | |
18 | {else} | |
19 | <div class='messages status'> | |
34d6cec4 | 20 | {icon icon="fa-info-circle"}{/icon}{ts}This report can not be displayed because there are no relevant entries in the logging tables.{/ts} |
6a488035 TO |
21 | </div> |
22 | {/if} | |
23 | {if $layout neq 'overlay'} | |
24 | <div class="action-link"> | |
13a3d214 | 25 | <a href="{$backURL}" class="button"><span><i class="crm-i fa-chevron-left" aria-hidden="true"></i> {ts}Back to Logging Summary{/ts}</span></a> |
fd68e05b | 26 | <a href="{$revertURL}" class="button" onclick="return confirm('{$revertConfirm|escape:'javascript'}');"><span><i class="crm-i fa-undo" aria-hidden="true"></i> {ts}Revert These Changes{/ts}</span></a> |
6a488035 TO |
27 | </div> |
28 | {/if} | |
29 | </div> |