X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Ftime.tpl;h=e5a753fd0801c09feaa139c5fe35683d98aa47e6;hb=1c2cf98a7a062d53e6988f042da2530e1f5d172e;hp=da0441027b95f1836bf91ac824553b917eca63dc;hpb=11441db31dcbed7b2070e800bcb1b0e6547b86bd;p=timetracker.git diff --git a/WEB-INF/templates/time.tpl b/WEB-INF/templates/time.tpl index da044102..e5a753fd 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)) @@ -357,8 +357,8 @@ function get_time() { {if $month_total} {$i18n.label.month_total}: {$month_total} - {if $month_left|strpos:'-' === 0} - {$i18n.label.month_over}: {$month_left|substr:1} + {if $over_quota} + {$i18n.label.month_over}: {$month_left} {else} {$i18n.label.month_left}: {$month_left} {/if}