Merge pull request #15326 from totten/master-headfoot-2
[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 {if $raw}
13 <div class="status">
14 <dl>
15 <dt><div class="icon inform-icon"></div></dt>
16 <dd>
17 {ts}WARNING: Are you sure you want to revert the below changes?{/ts}
18 </dd>
19 </dl>
20 </div>
21 {/if}
22 <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>
23 {if $layout eq 'overlay'}
24 {include file="CRM/Report/Form/Layout/Overlay.tpl"}
25 {else}
26 {include file="CRM/Report/Form/Layout/Table.tpl"}
27 {/if}
28 {else}
29 <div class='messages status'>
30 <div class='icon inform-icon'></div>&nbsp; {ts}This report can not be displayed because there are no relevant entries in the logging tables.{/ts}
31 </div>
32 {/if}
33 {if $layout neq 'overlay'}
34 <div class="action-link">
35 <a href="{$backURL}" class="button"><span><i class="crm-i fa-chevron-left"></i> {ts}Back to Logging Summary{/ts}</span></a>
36 <a href="{$revertURL}" class="button" onclick="return confirm('{$revertConfirm}');"><span><i class="crm-i fa-undo"></i> {ts}Revert These Changes{/ts}</span></a>
37 </div>
38 {/if}
39 </div>