| 1 | {* |
| 2 | +--------------------------------------------------------------------+ |
| 3 | | CiviCRM version 4.5 | |
| 4 | +--------------------------------------------------------------------+ |
| 5 | | Copyright CiviCRM LLC (c) 2004-2014 | |
| 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 | <div class="crm-block crm-form-block crm-report-templateList-form-block"> |
| 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 | {strip} |
| 31 | {if $list} |
| 32 | {counter start=0 skip=1 print=false} |
| 33 | {foreach from=$list item=rows key=report} |
| 34 | <div class="crm-accordion-wrapper crm-accordion_{$report}-accordion "> |
| 35 | <div class="crm-accordion-header"> |
| 36 | {if $report}{if $report EQ 'Contribute'}{ts}Contribution{/ts}{else}{$report}{/if}{else}Contact{/if} Report Templates |
| 37 | </div><!-- /.crm-accordion-header --> |
| 38 | <div class="crm-accordion-body"> |
| 39 | <div id="{$report}" class="boxBlock"> |
| 40 | <table class="report-layout"> |
| 41 | {foreach from=$rows item=row} |
| 42 | <tr id="row_{counter}" class="crm-report-templateList"> |
| 43 | <td class="crm-report-templateList-title" style="width:35%;"> |
| 44 | <a href="{$row.url}" title="{ts}Create report from this template{/ts}">» <strong>{$row.title}</strong></a> |
| 45 | {if $row.instanceUrl} |
| 46 | <div style="font-size:10px;text-align:right;margin-top:3px;"> |
| 47 | <a href="{$row.instanceUrl}">{ts}Existing Report(s){/ts}</a> |
| 48 | </div> |
| 49 | {/if} |
| 50 | </td> |
| 51 | <td style="cursor:help;" class="crm-report-templateList-description"> |
| 52 | {$row.description} |
| 53 | </td> |
| 54 | </tr> |
| 55 | {/foreach} |
| 56 | </table> |
| 57 | </div> |
| 58 | </div><!-- /.crm-accordion-body --> |
| 59 | </div><!-- /.crm-accordion-wrapper --> |
| 60 | {/foreach} |
| 61 | {else} |
| 62 | <div class="messages status no-popup"> |
| 63 | <div class="icon inform-icon"></div> {ts}There are currently no Report Templates.{/ts} |
| 64 | </div> |
| 65 | {/if} |
| 66 | {/strip} |
| 67 | |
| 68 | </div> |