First commit
This commit is contained in:
commit
c6e2478c40
13918 changed files with 2303184 additions and 0 deletions
|
@ -0,0 +1,97 @@
|
|||
{*
|
||||
+--------------------------------------------------------------------+
|
||||
| CiviCRM version 4.7 |
|
||||
+--------------------------------------------------------------------+
|
||||
| Copyright CiviCRM LLC (c) 2004-2017 |
|
||||
+--------------------------------------------------------------------+
|
||||
| This file is a part of CiviCRM. |
|
||||
| |
|
||||
| CiviCRM is free software; you can copy, modify, and distribute it |
|
||||
| under the terms of the GNU Affero General Public License |
|
||||
| Version 3, 19 November 2007 and the CiviCRM Licensing Exception. |
|
||||
| |
|
||||
| CiviCRM is distributed in the hope that it will be useful, but |
|
||||
| WITHOUT ANY WARRANTY; without even the implied warranty of |
|
||||
| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
|
||||
| See the GNU Affero General Public License for more details. |
|
||||
| |
|
||||
| You should have received a copy of the GNU Affero General Public |
|
||||
| License and the CiviCRM Licensing Exception along |
|
||||
| with this program; if not, contact CiviCRM LLC |
|
||||
| at info[AT]civicrm[DOT]org. If you have questions about the |
|
||||
| GNU Affero General Public License or the licensing of CiviCRM, |
|
||||
| see the CiviCRM license FAQ at http://civicrm.org/licensing |
|
||||
+--------------------------------------------------------------------+
|
||||
*}
|
||||
{strip}
|
||||
<div class="action-link">
|
||||
{if $templateUrl}
|
||||
<a href="{$templateUrl}" class="button"><span><i class="crm-i fa-plus-circle"></i> {$newButton}</span></a>
|
||||
{/if}
|
||||
{if $reportUrl}
|
||||
<a href="{$reportUrl}" class="button"><span>{ts}View All Reports{/ts}</span></a>
|
||||
{/if}
|
||||
</div>
|
||||
{if $list}
|
||||
<div class="crm-block crm-form-block crm-report-instanceList-form-block">
|
||||
{counter start=0 skip=1 print=false}
|
||||
{foreach from=$list item=rows key=report}
|
||||
<div class="crm-accordion-wrapper crm-accordion_{$report}-accordion ">
|
||||
<div class="crm-accordion-header">
|
||||
{if $title}{$title}{elseif $report EQ 'Contribute'}{ts}Contribution Reports{/ts}{else}{ts}{$report} Reports{/ts}{/if}</a>
|
||||
</div><!-- /.crm-accordion-header -->
|
||||
<div class="crm-accordion-body">
|
||||
<div id="{$report}" class="boxBlock">
|
||||
<table class="report-layout">
|
||||
{foreach from=$rows item=row}
|
||||
<tr id="row_{counter}" class="crm-report-instanceList">
|
||||
<td class="crm-report-instanceList-title" style="width:35%"><a href="{$row.url}" title="{ts}Run this report{/ts}">» <strong>{$row.title}</strong></a></td>
|
||||
<td class="crm-report-instanceList-description">{$row.description}</td>
|
||||
<td>
|
||||
<a href="{$row.viewUrl}" class="action-item crm-hover-button">{ts}View Results{/ts}</a>
|
||||
<span class="btn-slide crm-hover-button">more
|
||||
<ul class="panel">
|
||||
{foreach from=$row.actions item=action key=action_name}
|
||||
<li><a href="{$action.url}" class="{$action_name} action-item crm-hover-button small-popup"
|
||||
{if $action.confirm_message}onclick="return window.confirm({$action.confirm_message|json_encode|htmlspecialchars})"{/if}
|
||||
title="{$action.label|escape}">{$action.label}</a></li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
</span>
|
||||
</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{/foreach}
|
||||
</div>
|
||||
|
||||
<div class="action-link">
|
||||
{if $templateUrl}
|
||||
<a href="{$templateUrl}" class="button"><span><i class="crm-i fa-plus-circle"></i> {$newButton}</span></a>
|
||||
{/if}
|
||||
{if $reportUrl}
|
||||
<a href="{$reportUrl}" class="button"><span>{ts}View All Reports{/ts}</span></a>
|
||||
{/if}
|
||||
</div>
|
||||
|
||||
{else}
|
||||
<div class="crm-content-block">
|
||||
<div class="messages status no-popup">
|
||||
<div class="icon inform-icon"></div>
|
||||
{if $myReports}
|
||||
{ts}You do not have any private reports. To add a report to this section, edit the Report Settings for a report and set 'Add to My Reports' to Yes.{/ts}
|
||||
{else}
|
||||
{ts 1=$compName}No %1 reports have been created.{/ts}
|
||||
{if $templateUrl}
|
||||
{ts 1=$templateUrl}You can create reports by selecting from the <a href="%1">list of report templates here.</a>{/ts}
|
||||
{else}
|
||||
{ts}Contact your site administrator for help creating reports.{/ts}
|
||||
{/if}
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
{/strip}
|
|
@ -0,0 +1,85 @@
|
|||
{*
|
||||
+--------------------------------------------------------------------+
|
||||
| CiviCRM version 4.7 |
|
||||
+--------------------------------------------------------------------+
|
||||
| Copyright CiviCRM LLC (c) 2004-2017 |
|
||||
+--------------------------------------------------------------------+
|
||||
| This file is a part of CiviCRM. |
|
||||
| |
|
||||
| CiviCRM is free software; you can copy, modify, and distribute it |
|
||||
| under the terms of the GNU Affero General Public License |
|
||||
| Version 3, 19 November 2007 and the CiviCRM Licensing Exception. |
|
||||
| |
|
||||
| CiviCRM is distributed in the hope that it will be useful, but |
|
||||
| WITHOUT ANY WARRANTY; without even the implied warranty of |
|
||||
| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
|
||||
| See the GNU Affero General Public License for more details. |
|
||||
| |
|
||||
| You should have received a copy of the GNU Affero General Public |
|
||||
| License and the CiviCRM Licensing Exception along |
|
||||
| with this program; if not, contact CiviCRM LLC |
|
||||
| at info[AT]civicrm[DOT]org. If you have questions about the |
|
||||
| GNU Affero General Public License or the licensing of CiviCRM, |
|
||||
| see the CiviCRM license FAQ at http://civicrm.org/licensing |
|
||||
+--------------------------------------------------------------------+
|
||||
*}
|
||||
<div class="help">
|
||||
{ts 1=$GName}The existing option choices for %1 group are listed below. You can add, edit or delete them from this screen.{/ts}
|
||||
</div>
|
||||
{if $action ne 1 and $action ne 2}
|
||||
<div class="action-link">
|
||||
<a href="{$newReport}" id="new"|cat:$GName class="button"><span><i class="crm-i fa-plus-circle"></i> {ts 1=$GName}Register New %1{/ts}</span></a>
|
||||
</div>
|
||||
<div class="spacer"></div>
|
||||
{/if}
|
||||
{if $rows}
|
||||
<div id="optionList">
|
||||
{strip}
|
||||
{* handle enable/disable actions*}
|
||||
{include file="CRM/common/enableDisableApi.tpl"}
|
||||
<table id="options" class="row-highlight">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>{ts}Label{/ts}</th>
|
||||
<th>{ts}URL{/ts}</th>
|
||||
<th>{ts}Description{/ts}</th>
|
||||
<th>{ts}Order{/ts}</th>
|
||||
{if $showIsDefault}
|
||||
<th>{ts}Default{/ts}</th>
|
||||
{/if}
|
||||
<th>{ts}Reserved{/ts}</th>
|
||||
<th>{ts}Enabled?{/ts}</th>
|
||||
<th>{ts}Component{/ts}</th>
|
||||
<th></th>
|
||||
<th class="hiddenElement"></th>
|
||||
</tr>
|
||||
</thead>
|
||||
{foreach from=$rows item=row}
|
||||
<tr id="option_value-{$row.id}" class="crm-entity {cycle values="odd-row,even-row"}{$row.class}{if NOT $row.is_active} crm-report-optionList crm-report-optionList-status_disable disabled{else} crm-report-optionList crm-report-optionList-status_enable{/if}">
|
||||
<td class="crm-report-optionList-label crm-editable" data-field="label">{$row.label}</td>
|
||||
<td class="crm-report-optionList-value">{$row.value}</td>
|
||||
<td class="crm-report-optionList-description">{$row.description}</td>
|
||||
<td class="nowrap crm-report-optionList-order">{$row.weight}</td>
|
||||
{if $showIsDefault}
|
||||
<td class="crm-report-optionList-default_value">{$row.default_value}</td>
|
||||
{/if}
|
||||
<td class="crm-report-optionList-is_reserved">{if $row.is_reserved eq 1}{ts}Yes{/ts} {else} {ts}No{/ts} {/if}</td>
|
||||
<td class="crm-report-optionList-is_active">{if $row.is_active eq 1} {ts}Yes{/ts} {else} {ts}No{/ts} {/if}</td>
|
||||
<td class="crm-report-optionList-component_name">{$row.component_name}</td>
|
||||
<td class="crm-report-optionList-action">{$row.action}</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</table>
|
||||
{/strip}
|
||||
|
||||
{if $action ne 1 and $action ne 2}
|
||||
<div class="action-link">
|
||||
<a href="{$newReport}" id="new"|cat:$GName class="button"><span><i class="crm-i fa-plus-circle"></i> {ts 1=$GName}Register New %1{/ts}</span></a>
|
||||
</div>
|
||||
{/if}
|
||||
</div>
|
||||
{else}
|
||||
<div class="messages status no-popup">
|
||||
<img src="{$config->resourceBase}i/Inform.gif" alt="{ts}status{/ts}"/> {ts 1=$newReport}There are no option values entered. You can <a href="%1">add one</a>.{/ts}
|
||||
</div>
|
||||
{/if}
|
|
@ -0,0 +1,68 @@
|
|||
{*
|
||||
+--------------------------------------------------------------------+
|
||||
| CiviCRM version 4.7 |
|
||||
+--------------------------------------------------------------------+
|
||||
| Copyright CiviCRM LLC (c) 2004-2017 |
|
||||
+--------------------------------------------------------------------+
|
||||
| This file is a part of CiviCRM. |
|
||||
| |
|
||||
| CiviCRM is free software; you can copy, modify, and distribute it |
|
||||
| under the terms of the GNU Affero General Public License |
|
||||
| Version 3, 19 November 2007 and the CiviCRM Licensing Exception. |
|
||||
| |
|
||||
| CiviCRM is distributed in the hope that it will be useful, but |
|
||||
| WITHOUT ANY WARRANTY; without even the implied warranty of |
|
||||
| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
|
||||
| See the GNU Affero General Public License for more details. |
|
||||
| |
|
||||
| You should have received a copy of the GNU Affero General Public |
|
||||
| License and the CiviCRM Licensing Exception along |
|
||||
| with this program; if not, contact CiviCRM LLC |
|
||||
| at info[AT]civicrm[DOT]org. If you have questions about the |
|
||||
| GNU Affero General Public License or the licensing of CiviCRM, |
|
||||
| see the CiviCRM license FAQ at http://civicrm.org/licensing |
|
||||
+--------------------------------------------------------------------+
|
||||
*}
|
||||
<div class="crm-block crm-form-block crm-report-templateList-form-block">
|
||||
<div class="help">
|
||||
{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}
|
||||
</div>
|
||||
{strip}
|
||||
{if $list}
|
||||
{counter start=0 skip=1 print=false}
|
||||
{foreach from=$list item=rows key=report}
|
||||
<div class="crm-accordion-wrapper crm-accordion_{$report}-accordion ">
|
||||
<div class="crm-accordion-header">
|
||||
{if $report}{if $report EQ 'Contribute'}{ts}Contribution{/ts}{else}{$report}{/if}{else}Contact{/if} Report Templates
|
||||
</div><!-- /.crm-accordion-header -->
|
||||
<div class="crm-accordion-body">
|
||||
<div id="{$report}" class="boxBlock">
|
||||
<table class="report-layout">
|
||||
{foreach from=$rows item=row}
|
||||
<tr id="row_{counter}" class="crm-report-templateList">
|
||||
<td class="crm-report-templateList-title" style="width:35%;">
|
||||
<a href="{$row.url}" title="{ts}Create report from this template{/ts}">» <strong>{$row.title}</strong></a>
|
||||
{if $row.instanceUrl}
|
||||
<div style="font-size:10px;text-align:right;margin-top:3px;">
|
||||
<a href="{$row.instanceUrl}">{ts}Existing Report(s){/ts}</a>
|
||||
</div>
|
||||
{/if}
|
||||
</td>
|
||||
<td style="cursor:help;" class="crm-report-templateList-description">
|
||||
{$row.description}
|
||||
</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</table>
|
||||
</div>
|
||||
</div><!-- /.crm-accordion-body -->
|
||||
</div><!-- /.crm-accordion-wrapper -->
|
||||
{/foreach}
|
||||
{else}
|
||||
<div class="messages status no-popup">
|
||||
<div class="icon inform-icon"></div> {ts}There are currently no Report Templates.{/ts}
|
||||
</div>
|
||||
{/if}
|
||||
{/strip}
|
||||
|
||||
</div>
|
Loading…
Add table
Add a link
Reference in a new issue