From e5131c86c22c5577c0e27db04481084caf635dc5 Mon Sep 17 00:00:00 2001 From: Byron Jones Date: Tue, 14 Apr 2015 13:20:00 +0800 Subject: Bug 1146767: update relative dates without refreshing the page --- extensions/BugModal/template/en/default/bug_modal/flags.html.tmpl | 3 ++- extensions/BugModal/template/en/default/bug_modal/header.html.tmpl | 1 + extensions/BugModal/template/en/default/bug_modal/rel_time.html.tmpl | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) (limited to 'extensions/BugModal/template/en/default') 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 @@ - + [% f.type.name FILTER html %] 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 #%] - + [%~ IF content.defined; content; -- cgit v1.2.3-24-g4f1b