diff options
author | Matthew Somerville <matthew@mysociety.org> | 2020-04-15 17:02:44 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2020-05-07 18:45:29 +0100 |
commit | dc1507989b865999a96b448aad46a65ccb468244 (patch) | |
tree | f12736dbe2788eb6a521799db6d242e9ce3d9c85 | |
parent | 725d7ccf1874e3404c6fa05b8269cb57bb2b2ea1 (diff) |
In category admin, group already shown elsewhere.
Groups have their own special admin section above, so no need to show it
in the extra data list (especially as if it is in more than one group it
only shows a reference).
-rw-r--r-- | CHANGELOG.md | 1 | ||||
-rw-r--r-- | templates/web/base/admin/bodies/contact-form.html | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 61a56ebdd..c19e2ffa3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,6 +16,7 @@ - Allow a template to be an initial update on reports. #2973 - Interface for disabling updates/reopening for certain categories. #2991 #2992 - Include group in CSV export if enabled. #2994 + - In category admin, group already shown elsewhere. - Bugfixes: - Application user in Docker container can't install packages. #2914 - Look at all categories when sending reports. diff --git a/templates/web/base/admin/bodies/contact-form.html b/templates/web/base/admin/bodies/contact-form.html index 0224946cf..d989b62aa 100644 --- a/templates/web/base/admin/bodies/contact-form.html +++ b/templates/web/base/admin/bodies/contact-form.html @@ -125,6 +125,7 @@ <h2>[% loc('Extra data:') %] </h2> <dl> [% FOR pair IN contact.get_extra_metadata %] + [% NEXT IF pair.key == 'group' %] <dt>[% pair.key %]</dt> <dd>[% pair.value OR '<em>-</em>' %]</dd> [% END %] </dl> |