aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2017-08-04 16:46:15 +0100
committerMatthew Somerville <matthew-github@dracos.co.uk>2017-08-04 16:46:15 +0100
commit2a1b7aeeb1d8bfcde2429d38a65417f9939ea06c (patch)
treea579ce8061ad651b987f100a1b3958558db4b5c7
parentc15d06408eed6a29bce5b10a4cd8599b5b6aa37e (diff)
Output current shortlist holder in list tooltips.
-rw-r--r--CHANGELOG.md2
-rw-r--r--templates/web/base/report/_item.html4
2 files changed, 5 insertions, 1 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 43f7988c0..72aa3dd07 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,6 +1,8 @@
## Releases
* Unreleased
+ - Admin improvements:
+ - Highlight current shortlisted user in list tooltip.
* v2.1.1 (3rd August 2017)
- Email improvements:
diff --git a/templates/web/base/report/_item.html b/templates/web/base/report/_item.html
index dc53e81aa..7a3530b1f 100644
--- a/templates/web/base/report/_item.html
+++ b/templates/web/base/report/_item.html
@@ -11,7 +11,9 @@
[% IF c.user.is_planned_report(problem) ~%]
name="shortlist-remove" title="[% loc('Remove from shortlist') %]" class="item-list__item__shortlist-remove"
[%~ ELSE ~%]
- name="shortlist-add" title="[% loc('Add to shortlist') %]" class="item-list__item__shortlist-[% IF problem.shortlisted_user %]take[% ELSE %]add[% END %]"
+ name="shortlist-add" title="[% IF problem.shortlisted_user %]
+ [%~ tprintf(loc('Shortlisted by %s'), problem.shortlisted_user.name) %]; [% END %]
+ [%~ loc('Add to shortlist') %]" class="item-list__item__shortlist-[% IF problem.shortlisted_user %]take[% ELSE %]add[% END %]"
[%~ END ~%]
>
[%~ END %]