aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2016-10-13 17:49:04 +0100
committerMatthew Somerville <matthew-github@dracos.co.uk>2016-10-13 17:49:04 +0100
commit8ab9812e6cd5f686f7ab4d9a9859e8be4456ccd0 (patch)
tree5bf1a9d25d2707a70c023a8aa53cf01cbe2f8d71 /templates
parent9fc69a31cda118948e3714bc7f4fff9d0a3ca84e (diff)
parentb86c2142d2f82fb503807feae0a8df4b8af39571 (diff)
Merge branch 'issues/forcouncils/86-show-shortlist-reports'
Diffstat (limited to 'templates')
-rw-r--r--templates/web/base/report/_main.html7
1 files changed, 7 insertions, 0 deletions
diff --git a/templates/web/base/report/_main.html b/templates/web/base/report/_main.html
index 469ee5bc5..0a4056da7 100644
--- a/templates/web/base/report/_main.html
+++ b/templates/web/base/report/_main.html
@@ -147,5 +147,12 @@
</div>
[% END %]
+ [% IF permissions.planned_reports AND problem.shortlisted_user AND NOT c.user.is_planned_report(problem) %]
+ <div class="moderate-display shortlisted-status">
+ <h3>[% tprintf(loc('Shortlisted by %s'), problem.shortlisted_user.name) %]</h3>
+ <p>[% tprintf(loc('Adding this report to your shortlist will remove it from %s’s shortlist.'), problem.shortlisted_user.name) %]</p>
+ </div>
+ [% END %]
+
[% TRY %][% PROCESS 'report/_main_after.html' %][% CATCH file %][% END %]
</div>