diff options
Diffstat (limited to 'extensions/BugModal/template')
3 files changed, 4 insertions, 2 deletions
diff --git a/extensions/BugModal/template/en/default/bug_modal/flags.html.tmpl b/extensions/BugModal/template/en/default/bug_modal/flags.html.tmpl index 70e7e5c3d..77e04b882 100644 --- a/extensions/BugModal/template/en/default/bug_modal/flags.html.tmpl +++ b/extensions/BugModal/template/en/default/bug_modal/flags.html.tmpl @@ -74,7 +74,8 @@ </td> <td class="flag-name"> - <span class="rel-time" title="[% f.creation_date FILTER time_duration FILTER html %]"> + <span class="rel-time-title" title="[% f.creation_date FILTER time_duration FILTER html %]" + data-time="[% f.creation_date FILTER epoch FILTER none %]"> [% f.type.name FILTER html %] </span> </td> diff --git a/extensions/BugModal/template/en/default/bug_modal/header.html.tmpl b/extensions/BugModal/template/en/default/bug_modal/header.html.tmpl index 70c98641f..9e3742ef8 100644 --- a/extensions/BugModal/template/en/default/bug_modal/header.html.tmpl +++ b/extensions/BugModal/template/en/default/bug_modal/header.html.tmpl @@ -49,6 +49,7 @@ # assets javascript_urls.push( + "extensions/BugModal/web/time_ago.js", "extensions/BugModal/web/bug_modal.js", "extensions/BugModal/web/ZeroClipboard/ZeroClipboard.min.js", "js/field.js", diff --git a/extensions/BugModal/template/en/default/bug_modal/rel_time.html.tmpl b/extensions/BugModal/template/en/default/bug_modal/rel_time.html.tmpl index 3b31dedeb..26a1b709b 100644 --- a/extensions/BugModal/template/en/default/bug_modal/rel_time.html.tmpl +++ b/extensions/BugModal/template/en/default/bug_modal/rel_time.html.tmpl @@ -10,7 +10,7 @@ # ts: timestamp #%] -<span class="rel-time" title="[% ts FILTER time("%Y-%m-%d %H:%M %Z") %]"> +<span class="rel-time" title="[% ts FILTER time("%Y-%m-%d %H:%M %Z") %]" data-time="[% ts FILTER epoch FILTER none %]"> [%~ IF content.defined; content; |