Merge pull request #10403 from yashodha/CRM-20624
[civicrm-core.git] / templates / CRM / Report / Page / TemplateList.tpl
1 {*
2 +--------------------------------------------------------------------+
3 | CiviCRM version 4.7 |
4 +--------------------------------------------------------------------+
5 | Copyright CiviCRM LLC (c) 2004-2018 |
6 +--------------------------------------------------------------------+
7 | This file is a part of CiviCRM. |
8 | |
9 | CiviCRM is free software; you can copy, modify, and distribute it |
10 | under the terms of the GNU Affero General Public License |
11 | Version 3, 19 November 2007 and the CiviCRM Licensing Exception. |
12 | |
13 | CiviCRM is distributed in the hope that it will be useful, but |
14 | WITHOUT ANY WARRANTY; without even the implied warranty of |
15 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
16 | See the GNU Affero General Public License for more details. |
17 | |
18 | You should have received a copy of the GNU Affero General Public |
19 | License and the CiviCRM Licensing Exception along |
20 | with this program; if not, contact CiviCRM LLC |
21 | at info[AT]civicrm[DOT]org. If you have questions about the |
22 | GNU Affero General Public License or the licensing of CiviCRM, |
23 | see the CiviCRM license FAQ at http://civicrm.org/licensing |
24 +--------------------------------------------------------------------+
25 *}
26
27 <div class="help">
28 {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}
29 </div>
30
31 <div class="crm-block crm-form-block crm-report-templateList-form-block">
32 {strip}
33 {if $list}
34 {counter start=0 skip=1 print=false}
35 {foreach from=$list item=rows key=report}
36 <div class="crm-accordion-wrapper crm-accordion_{$report}-accordion ">
37 <div class="crm-accordion-header">
38 {if $report}{if $report EQ 'Contribute'}{ts}Contribution{/ts}{else}{$report}{/if}{else}Contact{/if} Report Templates
39 </div><!-- /.crm-accordion-header -->
40 <div class="crm-accordion-body">
41 <div id="{$report}" class="boxBlock">
42 <table class="report-layout">
43 {foreach from=$rows item=row}
44 <tr id="row_{counter}" class="crm-report-templateList">
45 <td class="crm-report-templateList-title" style="width:35%;">
46 <a href="{$row.url}" title="{ts}Create report from this template{/ts}">&raquo; <strong>{$row.title}</strong></a>
47 {if $row.instanceUrl}
48 <div style="font-size:10px;text-align:right;margin-top:3px;">
49 <a href="{$row.instanceUrl}">{ts}Existing Report(s){/ts}</a>
50 </div>
51 {/if}
52 </td>
53 <td style="cursor:help;" class="crm-report-templateList-description">
54 {$row.description}
55 </td>
56 </tr>
57 {/foreach}
58 </table>
59 </div>
60 </div><!-- /.crm-accordion-body -->
61 </div><!-- /.crm-accordion-wrapper -->
62 {/foreach}
63 {else}
64 <div class="messages status no-popup">
65 <div class="icon inform-icon"></div>&nbsp; {ts}There are currently no Report Templates.{/ts}
66 </div>
67 {/if}
68 {/strip}
69
70 </div>