From: Coleman Watts Date: Thu, 2 Jan 2014 22:13:45 +0000 (-0800) Subject: CRM-13863 - Contact summary popup fixes X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=2c407361fc51b6e76d2b5c9bae6be7ab27d289d5;p=civicrm-core.git CRM-13863 - Contact summary popup fixes --- diff --git a/templates/CRM/Contact/Page/View/Email.tpl b/templates/CRM/Contact/Page/View/Email.tpl index 75f379155b..7f6effd5c2 100644 --- a/templates/CRM/Contact/Page/View/Email.tpl +++ b/templates/CRM/Contact/Page/View/Email.tpl @@ -32,7 +32,7 @@
{ts}To{/ts}
{$toName|escape}
{ts}Subject{/ts}
{$subject}
{ts}Message{/ts}
{$message}
-
 
+
 
{ts}Done{/ts}
diff --git a/templates/CRM/Contribute/Page/ContributionRecur.tpl b/templates/CRM/Contribute/Page/ContributionRecur.tpl index 298483656f..673bf3e86a 100644 --- a/templates/CRM/Contribute/Page/ContributionRecur.tpl +++ b/templates/CRM/Contribute/Page/ContributionRecur.tpl @@ -51,7 +51,7 @@ {ts}Auto Renew?{/ts}{if $recur.auto_renew}{ts}Yes{/ts}{else}{ts}No{/ts}{/if} {if $recur.payment_processor}{ts}Payment Processor{/ts}{$recur.payment_processor}{/if} -
+
{ts}Done{/ts}
{/if} {/if} diff --git a/templates/CRM/Contribute/Page/Tab.tpl b/templates/CRM/Contribute/Page/Tab.tpl index 96f8392ea9..27c32d46da 100644 --- a/templates/CRM/Contribute/Page/Tab.tpl +++ b/templates/CRM/Contribute/Page/Tab.tpl @@ -31,11 +31,13 @@
{if $permission EQ 'edit'} - {capture assign=newContribURL}{crmURL p="civicrm/contact/view/contribution" q="reset=1&action=add&cid=`$contactId`&context=contribution"}{/capture} - {ts 1=$newContribURL}Click Record Contribution (Check, Cash, EFT ...) to record a new contribution received from this contact.{/ts} + {capture assign=newContribURL}{crmURL p="civicrm/contact/view/contribution" q="reset=1&action=add&cid=`$contactId`&context=contribution"}{/capture} + {capture assign=link}class="action-item action-item-first" href="{$newContribURL}"{/capture} + {ts 1=$link}Click Record Contribution to record a new contribution received from this contact.{/ts} {if $newCredit} - {capture assign=newCreditURL}{crmURL p="civicrm/contact/view/contribution" q="reset=1&action=add&cid=`$contactId`&context=contribution&mode=live"}{/capture} - {ts 1=$newCreditURL}Click Submit Credit Card Contribution to process a new contribution on behalf of the contributor using their credit card.{/ts} + {capture assign=newCreditURL}{crmURL p="civicrm/contact/view/contribution" q="reset=1&action=add&cid=`$contactId`&context=contribution&mode=live"}{/capture} + {capture assign=link}class="action-item action-item-first" href="{$newCreditURL}"{/capture} + {ts 1=$link}Click Submit Credit Card Contribution to process a new contribution on behalf of the contributor using their credit card.{/ts} {/if} {else} {ts 1=$displayName}Contributions received from %1 since inception.{/ts} diff --git a/templates/CRM/Event/Page/Tab.tpl b/templates/CRM/Event/Page/Tab.tpl index 100e32c859..9d6d8a0214 100644 --- a/templates/CRM/Event/Page/Tab.tpl +++ b/templates/CRM/Event/Page/Tab.tpl @@ -33,10 +33,12 @@

{ts 1=$displayName}This page lists all event registrations for %1 since inception.{/ts} - {if $permission EQ 'edit'}{ts 1=$newEventURL}Click Add Event Registration to register this contact for an event.{/ts}{/if} + {capture assign="link"}class="action-item action-item-first" href="{$newEventURL}"{/capture} + {if $permission EQ 'edit'}{ts 1=$link}Click Add Event Registration to register this contact for an event.{/ts}{/if} {if $accessContribution and $newCredit} {capture assign=newCreditURL}{crmURL p="civicrm/contact/view/participant" q="reset=1&action=add&cid=`$contactId`&context=participant&mode=live"}{/capture} - {ts 1=$newCreditURL}Click Submit Credit Card Event Registration to process a new New Registration on behalf of the participant using their credit card.{/ts} + {capture assign="link"}class="action-item action-item-first" href="{$newCreditURL}"{/capture} + {ts 1=$link}Click Submit Credit Card Event Registration to process a new New Registration on behalf of the participant using their credit card.{/ts} {/if}

diff --git a/templates/CRM/Member/Form/Membership.tpl b/templates/CRM/Member/Form/Membership.tpl index 61cf3eadfd..fd73e63bd7 100644 --- a/templates/CRM/Member/Form/Membership.tpl +++ b/templates/CRM/Member/Form/Membership.tpl @@ -336,7 +336,50 @@ {literal}