From 67f7d865283a0463b829a2d1d46941c86e10f391 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Buclin?= Date: Tue, 18 Apr 2017 23:04:40 +0200 Subject: Implement a UI in the buglist for the last visit time --- template/en/default/list/list.html.tmpl | 17 +++++++++++++++++ template/en/default/list/table.html.tmpl | 1 + 2 files changed, 18 insertions(+) (limited to 'template/en/default') diff --git a/template/en/default/list/list.html.tmpl b/template/en/default/list/list.html.tmpl index 368cd9c08..63866f416 100644 --- a/template/en/default/list/list.html.tmpl +++ b/template/en/default/list/list.html.tmpl @@ -131,6 +131,23 @@ [% END %] [% END %] + +[% IF user.id AND bugs.size %] +
+ + [% terms.Bugs %] you are involved in, but which you never visited or did not visit in the last [% Param('last_visit_keep_days') %] days + + + [% terms.Bugs %] you are involved in, which have been updated since your last visit + + + [% terms.Bugs %] you are involved in, which got no updates since your last visit + + + [% terms.Bugs %] you are not involved in + +
+[% END %]
diff --git a/template/en/default/list/table.html.tmpl b/template/en/default/list/table.html.tmpl index d3abc9b21..7e6611109 100644 --- a/template/en/default/list/table.html.tmpl +++ b/template/en/default/list/table.html.tmpl @@ -168,6 +168,7 @@ [%+ "bz_$bug.resolution" FILTER css_class_quote IF bug.resolution -%] [%+ "bz_secure" IF bug.secure_mode -%] [%+ "bz_secure_mode_$bug.secure_mode" FILTER css_class_quote IF bug.secure_mode -%] + [%+ "bz_${bug.last_visit_status}_since_last_visit" IF bug.last_visit_status %] [%+ count % 2 == 1 ? "bz_row_odd" : "bz_row_even" -%] "> -- cgit v1.2.1