diff options
| author | M Somerville <matthew-github@dracos.co.uk> | 2020-10-08 11:59:55 +0100 |
|---|---|---|
| committer | M Somerville <matthew-github@dracos.co.uk> | 2020-10-09 19:40:00 +0100 |
| commit | 3909c8655d118402c798653d188515d7dc406b03 (patch) | |
| tree | acfad7cf2c72e2e2764e8f337b8675b910a2ab95 /templates | |
| parent | 2d87d6bf7c7fa4eae0e098586a0efe04c5d866fe (diff) | |
Always show body name on updates even if anonymous
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/web/base/report/_update_state.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/web/base/report/_update_state.html b/templates/web/base/report/_update_state.html index ecac68850..d484dcb05 100644 --- a/templates/web/base/report/_update_state.html +++ b/templates/web/base/report/_update_state.html @@ -12,7 +12,7 @@ <p class="meta-2"> [% INCLUDE meta_line %] - [% IF c.user_exists AND c.user.id == update.user_id AND !update.anonymous %] + [% IF c.user_exists AND c.user.id == update.user_id AND !update.anonymous AND NOT (c.user.from_body OR c.user.is_superuser) %] <small>(<a href="/my/anonymize?update=[% update.id | uri %]" class="js-hide-name">[% loc('Hide your name?') %]</a>)</small> [% END %] [% mlog = update.latest_moderation_log_entry(); IF mlog %] |
