From f20ec5fb1e42bf4a273cb2d3a99d3d7b33c2ff48 Mon Sep 17 00:00:00 2001 From: Nik Okuntseff Date: Thu, 25 Jan 2018 20:21:45 +0000 Subject: [PATCH] Cosmetic UI fixes for report table. --- WEB-INF/templates/footer.tpl | 2 +- WEB-INF/templates/report.tpl | 15 +++++++++------ 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/WEB-INF/templates/footer.tpl b/WEB-INF/templates/footer.tpl index 8ff301dc..5d533bef 100644 --- a/WEB-INF/templates/footer.tpl +++ b/WEB-INF/templates/footer.tpl @@ -12,7 +12,7 @@
- {/if} {if $bean->getAttribute('chpaid')}{/if} {if $bean->getAttribute('chinvoice')}{/if} + {if $use_checkboxes}{/if} {/if} @@ -116,6 +117,7 @@ {if $bean->getAttribute('chcost')}{/if} {if $bean->getAttribute('chpaid')}{/if} {if $bean->getAttribute('chinvoice')}{/if} + {if $use_checkboxes}{/if} {/if} @@ -134,14 +136,16 @@ {if $bean->getAttribute('chcost')}{/if} {if $bean->getAttribute('chpaid')}{/if} {if $bean->getAttribute('chinvoice')}{/if} + {if $use_checkboxes}{/if} {/if}
 Anuko Time Tracker 1.17.5.3785 | Copyright © Anuko | +  Anuko Time Tracker 1.17.5.3786 | Copyright © Anuko | {$i18n.footer.credits} | {$i18n.footer.license} | {$i18n.footer.improve} diff --git a/WEB-INF/templates/report.tpl b/WEB-INF/templates/report.tpl index 4eac6076..f99a3fb9 100644 --- a/WEB-INF/templates/report.tpl +++ b/WEB-INF/templates/report.tpl @@ -69,6 +69,7 @@ {if $bean->getAttribute('chcost')}{if $user->canManageTeam() || $user->isClient()}{$subtotals[$prev_grouped_by]['cost']}{else}{$subtotals[$prev_grouped_by]['expenses']}{/if}
 
{if $user->canManageTeam() || $user->isClient()}{$subtotals[$cur_grouped_by]['cost']}{else}{$subtotals[$cur_grouped_by]['expenses']}{/if}
{$user->currency|escape} {if $user->canManageTeam() || $user->isClient()}{$totals['cost']}{else}{$totals['expenses']}{/if}
-{if $use_mark_paid && $report_items} - +{if $report_items && ($use_mark_paid || $use_assign_to_invoice)} +
+ {if $use_mark_paid} -
@@ -149,10 +153,8 @@
-{/if} -{if $use_assign_to_invoice && $report_items} - + {/if} + {if $use_assign_to_invoice} + {/if}
@@ -160,6 +162,7 @@
{/if} {$forms.reportForm.close} -- 2.20.1