X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Ftime.tpl;h=e0418eeb660a5dbb2002682d23a819a1172bb850;hb=54d64e3d8f517e65577aa47fb6e38114e42f4970;hp=bb8628713c58c717f62b1d36afe4133198f4c3f6;hpb=52efa3cc9f8ad94f363f41cc2bca472b6492268d;p=timetracker.git
diff --git a/WEB-INF/templates/time.tpl b/WEB-INF/templates/time.tpl
index bb862871..e0418eeb 100644
--- a/WEB-INF/templates/time.tpl
+++ b/WEB-INF/templates/time.tpl
@@ -18,12 +18,6 @@
-{if $group_dropdown}
-
- {$i18n.label.group}: |
- {$forms.timeRecordForm.group.control} |
-
-{/if}
{if $user_dropdown}
{$i18n.label.user}: |
@@ -72,7 +66,13 @@
{if (($smarty.const.TYPE_DURATION == $user->record_type) || ($smarty.const.TYPE_ALL == $user->record_type))}
{$i18n.label.duration}: |
- {$forms.timeRecordForm.duration.control} {if $user->decimal_mark == ','}{str_replace('.', ',', $i18n.form.time.duration_format)}{else}{$i18n.form.time.duration_format}{/if} |
+ {$forms.timeRecordForm.duration.control} {if $user->getDecimalMark() == ','}{str_replace('.', ',', $i18n.form.time.duration_format)}{else}{$i18n.form.time.duration_format}{/if} |
+
+{/if}
+{if $template_dropdown}
+
+ {$i18n.label.template}: |
+ {$forms.timeRecordForm.template.control} |
{/if}
@@ -136,7 +136,7 @@
| {if ($record.duration == '0:00' && $record.start <> '')}{$i18n.form.time.uncompleted}{else}{$record.duration}{/if} |
{if $record.comment}{$record.comment|escape}{else} {/if} |
- {if $record.invoice_id}
+ {if $record.approved || $record.timesheet_id || $record.invoice_id}
{else}
{$i18n.label.edit}
@@ -155,7 +155,7 @@
|
-{if $time_records}
+