projects
/
timetracker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
As suggested in PR#33, allowed entry of decimal values with a comma for teams with...
[timetracker.git]
/
WEB-INF
/
templates
/
time.tpl
diff --git
a/WEB-INF/templates/time.tpl
b/WEB-INF/templates/time.tpl
index
8328ab4
..
25fc81c
100644
(file)
--- a/
WEB-INF/templates/time.tpl
+++ b/
WEB-INF/templates/time.tpl
@@
-59,7
+59,7
@@
{if (($smarty.const.TYPE_DURATION == $user->record_type) || ($smarty.const.TYPE_ALL == $user->record_type))}
<tr>
<td align="right">{$i18n.label.duration}:</td>
{if (($smarty.const.TYPE_DURATION == $user->record_type) || ($smarty.const.TYPE_ALL == $user->record_type))}
<tr>
<td align="right">{$i18n.label.duration}:</td>
- <td>{$forms.timeRecordForm.duration.control} {
$i18n.form.time.duration_format
}</td>
+ <td>{$forms.timeRecordForm.duration.control} {
if $user->decimal_mark == ','}{str_replace('.', ',', $i18n.form.time.duration_format)}{else}{$i18n.form.time.duration_format}{/if
}</td>
</tr>
{/if}
</table>
</tr>
{/if}
</table>