CRM-16957: Allow changing selections even if none selected originally
authorJKingsnorth <john@johnkingsnorth.co.uk>
Mon, 3 Aug 2015 10:24:42 +0000 (11:24 +0100)
committerJKingsnorth <john@johnkingsnorth.co.uk>
Mon, 3 Aug 2015 10:24:42 +0000 (11:24 +0100)
templates/CRM/Event/Form/EventFees.tpl

index a430b98567cca5d602fc966e8f4a2b8fdb2519ea..c52a2c16dc189a422d9fc9ecefc1f3dc98cffc42 100644 (file)
                     <td class="label">{ts}Selections{/ts}</td>
                     <td>{include file="CRM/Price/Page/LineItem.tpl" context="Event"}</td>
                 </tr>
-                <tr>
-                  <td></td>
-                  <td>
-                    <a class="action-item crm-hover-button" href='{crmURL p="civicrm/event/participant/feeselection" q="reset=1&id=`$participantId`&cid=`$contactId`&action=update"}'><span class="icon ui-icon-pencil"></span> {ts}Change Selections{/ts}</a>
-                  </td>
-                </tr>
             {else}
                 <tr class="crm-event-eventfees-form-block-event_level">
                     <td class="label">{ts}Event Level{/ts}</td>
                     <td>{$fee_level}&nbsp;{if $fee_amount}- {$fee_amount|crmMoney:$fee_currency}{/if}</td>
                 </tr>
             {/if}
+            <tr>
+              <td></td>
+              <td>
+                <a class="action-item crm-hover-button" href='{crmURL p="civicrm/event/participant/feeselection" q="reset=1&id=`$participantId`&cid=`$contactId`&action=update"}'><span class="icon ui-icon-pencil"></span> {ts}Change Selections{/ts}</a>
+              </td>
+            </tr>
         {else} {* New participant *}
   {if $priceSet.fields}
       <fieldset id="priceset" class="crm-group priceset-group">