Merge pull request #22449 from mattwire/phpnotices
[civicrm-core.git] / templates / CRM / Logging / ReportDetail.tpl
1 {*
2 +--------------------------------------------------------------------+
3 | Copyright CiviCRM LLC. All rights reserved. |
4 | |
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 |
8 +--------------------------------------------------------------------+
9 *}
10 <div class="crm-block crm-content-block crm-report-form-block">
11 {if $rows}
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>
13 {if $layout eq 'overlay'}
14 {include file="CRM/Report/Form/Layout/Overlay.tpl"}
15 {else}
16 {include file="CRM/Report/Form/Layout/Table.tpl"}
17 {/if}
18 {else}
19 <div class='messages status'>
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}
21 </div>
22 {/if}
23 {if $layout neq 'overlay'}
24 <div class="action-link">
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>
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>
27 </div>
28 {/if}
29 </div>