Merge pull request #15944 from magnolia61/Sort_CMS_tables_alphabetically
[civicrm-core.git] / templates / CRM / Report / Page / TemplateList.tpl
CommitLineData
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*}
ee7ffd3b
MR
10
11<div class="help">
12 {ts}Create reports for your users from any of the report templates listed below. Click on a template title to get started. Click Existing Report(s) to see any reports that have already been created from that template.{/ts}
13</div>
14
6a488035 15<div class="crm-block crm-form-block crm-report-templateList-form-block">
b69e578b
CW
16 {strip}
17 {if $list}
18 {counter start=0 skip=1 print=false}
19 {foreach from=$list item=rows key=report}
20 <div class="crm-accordion-wrapper crm-accordion_{$report}-accordion ">
21 <div class="crm-accordion-header">
22 {if $report}{if $report EQ 'Contribute'}{ts}Contribution{/ts}{else}{$report}{/if}{else}Contact{/if} Report Templates
23 </div><!-- /.crm-accordion-header -->
24 <div class="crm-accordion-body">
25 <div id="{$report}" class="boxBlock">
26 <table class="report-layout">
27 {foreach from=$rows item=row}
28 <tr id="row_{counter}" class="crm-report-templateList">
29 <td class="crm-report-templateList-title" style="width:35%;">
30 <a href="{$row.url}" title="{ts}Create report from this template{/ts}">&raquo; <strong>{$row.title}</strong></a>
31 {if $row.instanceUrl}
32 <div style="font-size:10px;text-align:right;margin-top:3px;">
33 <a href="{$row.instanceUrl}">{ts}Existing Report(s){/ts}</a>
34 </div>
35 {/if}
36 </td>
37 <td style="cursor:help;" class="crm-report-templateList-description">
38 {$row.description}
39 </td>
40 </tr>
41 {/foreach}
42 </table>
43 </div>
44 </div><!-- /.crm-accordion-body -->
45 </div><!-- /.crm-accordion-wrapper -->
46 {/foreach}
47 {else}
48 <div class="messages status no-popup">
6a488035 49 <div class="icon inform-icon"></div>&nbsp; {ts}There are currently no Report Templates.{/ts}
b69e578b
CW
50 </div>
51 {/if}
52 {/strip}
6a488035 53
6a488035 54</div>