diff options
author | mkanat%bugzilla.org <> | 2009-12-31 13:48:21 +0100 |
---|---|---|
committer | mkanat%bugzilla.org <> | 2009-12-31 13:48:21 +0100 |
commit | 1a4a843db26f6c3c208fa5dfdca7933b7cb76db2 (patch) | |
tree | 6a5766dc9b7c6cd5a06eb80eb8043714da6af5da /template/en/default/global | |
parent | 958e1a758168b4908bcdd237518ab85b93d7e1bb (diff) | |
download | bugzilla-1a4a843db26f6c3c208fa5dfdca7933b7cb76db2.tar.gz bugzilla-1a4a843db26f6c3c208fa5dfdca7933b7cb76db2.tar.xz |
Bug 520318: Add remove_from_db to Bugzilla:Group and use it to delete groups in editgroups.cgi
Patch by Max Kanat-Alexander <mkanat@bugzilla.org> r=dkl, a=LpSolit
Diffstat (limited to 'template/en/default/global')
-rw-r--r-- | template/en/default/global/user-error.html.tmpl | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/template/en/default/global/user-error.html.tmpl b/template/en/default/global/user-error.html.tmpl index b40ff26b4..80172bb03 100644 --- a/template/en/default/global/user-error.html.tmpl +++ b/template/en/default/global/user-error.html.tmpl @@ -682,9 +682,10 @@ [% ELSIF error == "group_cannot_delete" %] [% title = "Cannot Delete Group" %] - The <em>[% name FILTER html %]</em> group cannot be deleted because + The <em>[% group.name FILTER html %]</em> group cannot be deleted because there are - <a href="editgroups.cgi?action=del&group=[% gid FILTER url_quote %]">records</a> + <a href="editgroups.cgi?action=del&group= + [%- group.id FILTER url_quote %]">records</a> in the database which refer to it. All references to this group must be removed before you can remove it. @@ -1760,6 +1761,8 @@ flagtype [% ELSIF class == "Bugzilla::Field" %] field + [% ELSIF class == "Bugzilla::Group" %] + group [% ELSIF class == "Bugzilla::Product" %] product [% ELSIF class == "Bugzilla::Search::Saved" %] |