Participant view button cleanup
authorColeman Watts <coleman@civicrm.org>
Tue, 13 Jan 2015 18:15:55 +0000 (13:15 -0500)
committerColeman Watts <coleman@civicrm.org>
Tue, 13 Jan 2015 18:15:55 +0000 (13:15 -0500)
templates/CRM/Contribute/Page/PaymentInfo.tpl
templates/CRM/Event/Form/EventFees.tpl
templates/CRM/Event/Form/ParticipantFeeSelection.tpl
templates/CRM/Event/Form/ParticipantView.tpl

index 065f6411e82cb4ece7c1bafebb8b44e59e153ba9..9df1e2e95a7995665cc3e5f801a3779f4dbc2869 100644 (file)
@@ -63,7 +63,7 @@ CRM.$(function($) {
     <td class='right'>
       {if $paymentInfo.paid > 0}
         {$paymentInfo.paid|crmMoney}<br/>
-        <a class="crm-hover-button action-item medium-popup" href='{crmURL p="civicrm/payment" q="view=transaction&cid=`$cid`&id=`$paymentInfo.id`&component=`$paymentInfo.component`&action=browse"}'>
+        <a class="crm-hover-button action-item crm-popup medium-popup" href='{crmURL p="civicrm/payment" q="view=transaction&cid=`$cid`&id=`$paymentInfo.id`&component=`$paymentInfo.component`&action=browse"}'>
           <span class="icon ui-icon-zoomin"></span>
           {ts}view payments{/ts}
         </a>
@@ -78,6 +78,6 @@ CRM.$(function($) {
   {elseif $paymentInfo.balance < 0}
      {assign var=paymentButtonName value='Record Refund'}
   {/if}
-  <a class="button" href='{crmURL p="civicrm/payment" q="action=add&reset=1&component=`$component`&id=`$id`&cid=`$cid`"}' title="{ts}{$paymentButtonName}{/ts}"><span><div class="icon ui-icon-circle-plus"></div> {ts}{$paymentButtonName}{/ts}</span></a>
+  <a class="action-item crm-hover-button" href='{crmURL p="civicrm/payment" q="action=add&reset=1&component=`$component`&id=`$id`&cid=`$cid`"}'><span class="icon ui-icon-circle-plus"></span> {ts}{$paymentButtonName}{/ts}</a>
 {/if}
 {/if}
index 4a40a9fea6e1683ee5a1ea73b2a21d5cdbf2ca20..c18a0ac5679b7555885a3dd5e7fa43baea2423aa 100644 (file)
@@ -41,7 +41,7 @@
                 <tr>
                   <td></td>
                   <td>
-                    <a class="button" href='{crmURL p="civicrm/event/participant/feeselection" q="reset=1&id=`$participantId`&cid=`$contactId`&action=update"}' title="{ts}Change Selections{/ts}"><span><div class="icon ui-icon-pencil"></div> {ts}Change Selections{/ts}</span></a>
+                    <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}
index c4aebbc2f5ceac5bbc41de69725a6a7d23f4aee5..3abf6ef13da6add732f7c32dd5c5c977659ec3a7 100644 (file)
@@ -139,7 +139,7 @@ CRM.$(function($) {
          <div class='label'>{ts}Total Paid{/ts}</div>
          <div class='content'>
            {$paymentInfo.paid|crmMoney}<br/>
-           <a class="crm-hover-button action-item medium-popup" href='{crmURL p="civicrm/payment" q="view=transaction&action=browse&cid=`$contactId`&id=`$paymentInfo.id`&component=`$paymentInfo.component`&context=transaction"}'><span class="icon ui-icon-zoomin"></span> {ts}view payments{/ts}</a>
+           <a class="crm-hover-button action-item crm-popup medium-popup" href='{crmURL p="civicrm/payment" q="view=transaction&action=browse&cid=`$contactId`&id=`$paymentInfo.id`&component=`$paymentInfo.component`&context=transaction"}'><span class="icon ui-icon-zoomin"></span> {ts}view payments{/ts}</a>
          </div>
          <div class='label'><strong>{ts}Balance Owed{/ts}</strong></div><div class='content'><strong id='balance-fee'></strong></div>
           </div>
index 938121e16c7dbc1984fb546b8c6ba594300706c5..beebf06c0eb0dcc2ce2824a8f3b29fc6f128b704 100644 (file)
     <table class="crm-info-panel">
     <tr class="crm-event-participantview-form-block-displayName">
       <td class="label">{ts}Participant Name{/ts}</td>
-      <td class="bold">
-        <a href="{crmURL p='civicrm/contact/view' q="reset=1&cid=$contact_id"}" title="{ts}View contact record{/ts}">{$displayName}</a>
-        <div class="crm-submit-buttons">
-            <a class="button" href="{crmURL p='civicrm/event/badge' q="reset=1&context=view&id=$id&cid=$contact_id"}" title="{ts}Print Event Name Badge{/ts}"><span><div class="icon ui-icon-print"></div> {ts}Print Name Badge{/ts}</span></a>
+      <td>
+        <strong><a href="{crmURL p='civicrm/contact/view' q="reset=1&cid=$contact_id"}" title="{ts}View contact record{/ts}">{$displayName}</a></strong>
+        <div>
+            <a class="action-item crm-hover-button" href="{crmURL p='civicrm/event/badge' q="reset=1&context=view&id=$id&cid=$contact_id"}"><span class="icon ui-icon-print"></span> {ts}Print Name Badge{/ts}</a>
         </div>
       </td>
   </tr>
                 <td class="label">{ts}Selections{/ts}</td>
                 <td>{include file="CRM/Price/Page/LineItem.tpl" context="Event"}
                 {if $hasPayment or $parentHasPayment}
-                   <a class="button" href='{crmURL p="civicrm/event/participant/feeselection" q="reset=1&id=`$participantId`&cid=`$contactId`&action=update"}' title="{ts}Change Selections{/ts}"><span><div class="icon ui-icon-pencil"></div> {ts}Change Selections{/ts}</span></a>
+                   <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>
                 {/if}
                 </td>
             {else}