summaryrefslogtreecommitdiffstats
path: root/extensions/BugModal/template/en/default/bug_modal/attachments.html.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/BugModal/template/en/default/bug_modal/attachments.html.tmpl')
-rw-r--r--extensions/BugModal/template/en/default/bug_modal/attachments.html.tmpl9
1 files changed, 7 insertions, 2 deletions
diff --git a/extensions/BugModal/template/en/default/bug_modal/attachments.html.tmpl b/extensions/BugModal/template/en/default/bug_modal/attachments.html.tmpl
index f9d219497..0604b41bc 100644
--- a/extensions/BugModal/template/en/default/bug_modal/attachments.html.tmpl
+++ b/extensions/BugModal/template/en/default/bug_modal/attachments.html.tmpl
@@ -68,8 +68,13 @@
[% ELSE %]
<span
[% END %]
- class="flag-name-status rel-time-title[% " activity-ref" IF activity_id %]"
- title="[% flag.creation_date FILTER time_duration FILTER html %]"
+ [% IF user.setting("ui_use_absolute_time") == "on" %]
+ class="flag-name-status abs-time-title[% " activity-ref" IF activity_id %]"
+ title="[% flag.creation_date FILTER time("%Y-%m-%d %H:%M %Z") FILTER html %]"
+ [% ELSE %]
+ class="flag-name-status rel-time-title[% " activity-ref" IF activity_id %]"
+ title="[% flag.creation_date FILTER time_duration FILTER html %]"
+ [% END %]
data-time="[% flag.creation_date FILTER epoch FILTER none %]"
>
[%+ flag.type.name FILTER html %][% flag.status FILTER none %]