From: Mathieu Lutfy Date: Tue, 8 Apr 2014 19:57:54 +0000 (-0400) Subject: CRM-14444: templates/CRM/Report/Form/Layout/Table.tpl: right-align report cells that... X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=e2eecc802751ce949cfb14722cfa430b056618f7;p=civicrm-core.git CRM-14444: templates/CRM/Report/Form/Layout/Table.tpl: right-align report cells that are T_FLOAT. --- diff --git a/templates/CRM/Report/Form/Layout/Table.tpl b/templates/CRM/Report/Form/Layout/Table.tpl index b141cb55bc..a311a59ea6 100644 --- a/templates/CRM/Report/Form/Layout/Table.tpl +++ b/templates/CRM/Report/Form/Layout/Table.tpl @@ -33,7 +33,7 @@ {capture assign="tableHeader"} {foreach from=$columnHeaders item=header key=field} {assign var=class value=""} - {if $header.type eq 1024 OR $header.type eq 1} + {if $header.type eq 1024 OR $header.type eq 1 OR $header.type eq 512} {assign var=class value="class='reports-header-right'"} {else} {assign var=class value="class='reports-header'"} @@ -99,7 +99,7 @@ {foreach from=$columnHeaders item=header key=field} {assign var=fieldLink value=$field|cat:"_link"} {assign var=fieldHover value=$field|cat:"_hover"} - + {if $row.$fieldLink} {/if}