Change inform-icon to fa-info-circle
[civicrm-core.git] / templates / CRM / Campaign / Page / Petition.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 {* this template is used for displaying survey information *}
11
12 {if $surveys}
13 <div class="action-link">
14 <a href="{$addSurveyUrl}" class="button">
15 <span><i class="crm-i fa-plus-circle" aria-hidden="true"></i> {ts}Add Survey{/ts}</span>
16 </a>
17 </div>
18 {include file="CRM/common/enableDisableApi.tpl"}
19 {include file="CRM/common/jsortable.tpl"}
20 <div id="surveyList">
21 <table id="options" class="display">
22 <thead>
23 <tr>
24 <th>{ts}Survey{/ts}</th>
25 <th>{ts}Campaign{/ts}</th>
26 <th>{ts}Survey Type{/ts}</th>
27 <th>{ts}Release Frequency{/ts}</th>
28 <th>{ts}Max Number Of Contacts{/ts}</th>
29 <th>{ts}Default Number Of Contacts{/ts}</th>
30 <th>{ts}Default?{/ts}</th>
31 <th>{ts}Active?{/ts}</th>
32 <th id="nosort"></th>
33 </tr>
34 </thead>
35 {foreach from=$surveys item=survey}
36 <tr id="survey-{$survey.id}" class="crm-entity {if $survey.is_active neq 1} disabled{/if}">
37 <td>{$survey.title}</td>
38 <td>{$survey.campaign_id}</td>
39 <td>{$survey.activity_type_id}</td>
40 <td>{$survey.release_frequency}</td>
41 <td>{$survey.max_number_of_contacts}</td>
42 <td>{$survey.default_number_of_contacts}</td>
43 <td>{icon condition=$survey.is_default}{ts}Default{/ts}{/icon}</td>
44 <td id="row_{$survey.id}_status">{if $survey.is_active}{ts}Yes{/ts}{else}{ts}No{/ts}{/if}</td>
45 <td class="crm-report-optionList-action">{$survey.action}</td>
46 </tr>
47 {/foreach}
48 </table>
49 </div>
50
51 {else}
52 <div class="status">
53 {icon icon="fa-info-circle"}{/icon}{ts}None found.{/ts}
54 </div>
55 {/if}
56 <div class="action-link">
57 <a href="{$addSurveyUrl}" class="button">
58 <span><i class="crm-i fa-plus-circle" aria-hidden="true"></i> {ts}Add Survey{/ts}</span>
59 </a>
60 </div>