tpl cleanup
authorColeman Watts <coleman@civicrm.org>
Tue, 29 Apr 2014 20:27:03 +0000 (13:27 -0700)
committerColeman Watts <coleman@civicrm.org>
Tue, 29 Apr 2014 20:27:03 +0000 (13:27 -0700)
templates/CRM/Member/Page/MembershipStatus.tpl

index ddb1e4d8157369493e9fee95b0e2b483d0d60d77..7648ee637e567ff0c6d0b3cc87d7a5201a38068d 100644 (file)
 {if $action eq 1 or $action eq 2 or $action eq 8}
    {include file="CRM/Member/Form/MembershipStatus.tpl"}
 {else}
-    <div id="help">
-        <p>{ts}CiviMember automatically calculates the current status of each contact's membership based on the status names and rules configured here. The status 'rule' tells CiviMember what status to assign based on the start and end dates of a given membership. For example, the default <strong>Grace</strong> status rule says: 'assign Grace status if the membership period ended sometime within the past month.'{/ts} {docURL page="user/membership/setup"}
-        <p>{ts 1=$crmURL}The status rules provided by default may be sufficient for your organization. However, you can easily change the status names and/or adjust the rules by clicking the Edit links below. Or you can <a href='%1'>add a new status and rule</a>.{/ts}
-    </div>
-{/if}
+  <div id="help">
+    <p>{ts}CiviMember automatically calculates the current status of each contact's membership based on the status names and rules configured here. The status 'rule' tells CiviMember what status to assign based on the start and end dates of a given membership. For example, the default <strong>Grace</strong> status rule says: 'assign Grace status if the membership period ended sometime within the past month.'{/ts} {docURL page="user/membership/setup"}
+    <p>{ts 1=$crmURL}The status rules provided by default may be sufficient for your organization. However, you can easily change the status names and/or adjust the rules by clicking the Edit links below. Or you can <a href='%1'>add a new status and rule</a>.{/ts}
+  </div>
 
-{if $rows}
-<div id="ltype">
-<p></p>
+  {if $rows}
+  <div id="ltype">
+  <p></p>
     <div id="membership_status_id">
         {strip}
         {* handle enable/disable actions*}
         </div>
         {/if}
     </div>
-</div>
-{else}
-  {if $action ne 1}
-    <div class="messages status no-popup">
+  </div>
+  {else}
+    {if $action ne 1}
+      <div class="messages status no-popup">
          <img src="{$config->resourceBase}i/Inform.gif" alt="{ts}status{/ts}"/>{ts 1=$crmURL}There are no custom membership status entered. You can <a href='%1'>add one</a>.{/ts}
-    </div>
+      </div>
+    {/if}
   {/if}
 {/if}