CRM-15603 - Standardize 'None found' messages
[civicrm-core.git] / templates / CRM / Member / Form / MembershipStatus.tpl
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 {* this template is used for adding/editing/deleting membership status *}
27 <div class="crm-block crm-form-block crm-membership-status-form-block" id=membership_status>
28 <fieldset><legend>{if $action eq 1}{ts}New Membership Status{/ts}{elseif $action eq 2}{ts}Edit Membership Status{/ts}{else}{ts}Delete Membership Status{/ts}{/if}</legend>
29 <div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="top"}</div>
30 {if $action eq 8}
31 <div class="messages status no-popup">
32 <div class="icon inform-icon"></div>
33 {ts}WARNING: Deleting this option will result in the loss of all membership records of this status.{/ts} {ts}This may mean the loss of a substantial amount of data, and the action cannot be undone.{/ts} {ts}Do you want to continue?{/ts}
34 </div>
35 {else}
36 <table class="form-layout-compressed">
37 {if $action eq 2}
38 <tr class="crm-membership-status-form-block-name">
39 <td class="label">{$form.name.label}</td>
40 <td class="html-adjust">{$form.name.html}</td>
41 </tr>
42 {/if}
43
44 <tr class="crm-membership-status-form-block-label">
45 <td class="label">{$form.label.label}{if $action == 2}{include file='CRM/Core/I18n/Dialog.tpl' table='civicrm_membership_status' field='label' id=$id}{/if}</td>
46 <td class="html-adjust">{$form.label.html}<br />
47 <span class="description">{ts}Display name for this Membership status (e.g. New, Current, Grace, Expired...).{/ts}</span>
48 </td>
49 </tr>
50
51 <tr class="crm-membership-status-form-block-start_event">
52 <td class="label">{$form.start_event.label}</td>
53 <td class="html-adjust">{$form.start_event.html}<br />
54 <span class="description">{ts}When does this status begin? EXAMPLE: <strong>New</strong> status begins at the membership 'join date'.{/ts}</span>
55 </td>
56 </tr>
57 <tr class="crm-membership-status-form-block-start_event_unit_interval">
58 <td class="label">{$form.start_event_adjust_unit.label}</td>
59 <td class="html-adjust">&nbsp;{$form.start_event_adjust_interval.html}&nbsp;&nbsp;{$form.start_event_adjust_unit.html}<br />
60 <span class="description">{ts}Optional adjustment period added or subtracted from the Start Event. EXAMPLE: <strong>Current</strong> status might begin at 'join date' PLUS 3 months (to distinguish Current from New members).{/ts}</span>
61 </td>
62 </tr>
63 <tr class="crm-membership-status-form-block-end_event">
64 <td class="label">{$form.end_event.label}</td>
65 <td class="html-adjust">{$form.end_event.html}<br />
66 <span class="description">{ts}When does this status end? EXAMPLE: <strong>Current</strong> status ends at the membership 'end date'.{/ts}</span>
67 </td>
68 </tr>
69 <tr class="crm-membership-status-form-block-end_event_unit_interval">
70 <td class="label">{$form.end_event_adjust_unit.label}</td>
71 <td class="html-adjust">&nbsp;{$form.end_event_adjust_interval.html}&nbsp;{$form.end_event_adjust_unit.html}<br />
72 <span class="description">{ts}Optional adjustment period added or subtracted from the End Event. EXAMPLE: <strong>Grace</strong> status might end at 'end date' PLUS 1 month.{/ts}</span>
73 </td>
74 </tr>
75 <tr class="crm-membership-status-form-block-is_current_member">
76 <td class="label">{$form.is_current_member.label}</td><td class="html-adjust">{$form.is_current_member.html}<br />
77 <span class="description">{ts}Should this status be considered a current membership in good standing. EXAMPLE: New, Current and Grace could all be considered 'current'.{/ts}</span>
78 </td>
79 </tr>
80 <tr class="crm-membership-status-form-block-is_admin">
81 <td class="label">{$form.is_admin.label}</td>
82 <td class="html-adjust">{$form.is_admin.html}<br />
83 <span class="description">{ts}Check this box if this status is for use by administrative staff only. If checked, this status is never automatically assigned by CiviMember. It is assigned to a contact's Membership by checking the <strong>Status Override</strong> flag when adding or editing the Membership record. Start and End Event settings are ignored for Administrator statuses. EXAMPLE: This setting can be useful for special case statuses like 'Non-expiring', 'Barred' or 'Expelled', etc.{/ts}</span>
84 </td>
85 </tr>
86 <tr class="crm-membership-status-form-block-weight">
87 <td class="label">{$form.weight.label}</td>
88 <td class="html-adjust">&nbsp;{$form.weight.html}<br />
89 <span class="description">{ts}Weight sets the order of precedence for automatic assignment of status to a membership. It also sets the order for status displays. EXAMPLE: The default 'New' and 'Current' statuses have overlapping ranges. Memberships that meet both status range criteria are assigned the status with the lower weight.{/ts}</span>
90 </td>
91 </tr>
92 <tr class="crm-membership-status-form-block-is_default">
93 <td class="label">{$form.is_default.label}</td>
94 <td class="html-adjust">{$form.is_default.html}<br />
95 <span class="description">{ts}The default status is assigned when there are no matching status rules for a membership.{/ts}</span>
96 </td>
97 </tr>
98 <tr class="crm-membership-status-form-block-is_active">
99 <td class="label">{$form.is_active.label}</td>
100 <td class="html-adjust">{$form.is_active.html}<br />
101 <span class="description">{ts}Is this status enabled.{/ts}</span>
102 </td>
103 </tr>
104 </table>
105 {/if}
106 <div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="bottom"}</div>
107 <br clear="all" />
108 </fieldset>
109 </div>