From e2eecc802751ce949cfb14722cfa430b056618f7 Mon Sep 17 00:00:00 2001 From: Mathieu Lutfy Date: Tue, 8 Apr 2014 15:57:54 -0400 Subject: [PATCH] CRM-14444: templates/CRM/Report/Form/Layout/Table.tpl: right-align report cells that are T_FLOAT. --- templates/CRM/Report/Form/Layout/Table.tpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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} -- 2.25.1