X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Ftime.tpl;h=d526c46fbeeba3b29b212d3f5de95f969a6530d9;hb=ba0b5f34efabfeded3112115086eaa9d00f2a345;hp=089e57cc52d1b9c3ed195edbd6fdec8cb19924dd;hpb=0dfc4dda20c54e173938eaf196f8e071ce790830;p=timetracker.git diff --git a/WEB-INF/templates/time.tpl b/WEB-INF/templates/time.tpl index 089e57cc..d526c46f 100644 --- a/WEB-INF/templates/time.tpl +++ b/WEB-INF/templates/time.tpl @@ -41,7 +41,7 @@ task_names = new Array(); empty_label_project = '{$i18n.dropdown.select|escape:'javascript'}'; empty_label_task = '{$i18n.dropdown.select|escape:'javascript'}'; -// The populateDropdowns function populates the "project" and "task" dropdown controls +// The fillDropdowns function populates the "project" and "task" dropdown controls // with relevant values. function fillDropdowns() { if(document.body.contains(document.timeRecordForm.client)) @@ -354,6 +354,16 @@ function get_time() { {$i18n.label.week_total}: {$week_total} {$i18n.label.day_total}: {$day_total} + {if $month_total} + + {$i18n.label.month_total}: {$month_total} + {if $month_left|strpos:'-' === 0} + {$i18n.label.month_over}: {$month_left|substr:1} + {else} + {$i18n.label.month_left}: {$month_left} + {/if} + + {/if} {/if} {$forms.timeRecordForm.close}