diff options
author | bugreport%peshkin.net <> | 2004-08-11 23:00:33 +0200 |
---|---|---|
committer | bugreport%peshkin.net <> | 2004-08-11 23:00:33 +0200 |
commit | 9e6914114a17d5b1ca92ae4aa1f9796d1ba66df8 (patch) | |
tree | 497b3ea948791d229051e4c9ec663ae5fdf8a6b1 /template/en/default | |
parent | d306c2edbbc171d5345b3378bd76ed5b69984316 (diff) | |
download | bugzilla-9e6914114a17d5b1ca92ae4aa1f9796d1ba66df8.tar.gz bugzilla-9e6914114a17d5b1ca92ae4aa1f9796d1ba66df8.tar.xz |
Bug 244239: Add group-based pronouns to query
r=erik,justdave
a=justdave
Diffstat (limited to 'template/en/default')
-rw-r--r-- | template/en/default/admin/groups/edit.html.tmpl | 24 | ||||
-rw-r--r-- | template/en/default/global/user-error.html.tmpl | 4 |
2 files changed, 20 insertions, 8 deletions
diff --git a/template/en/default/admin/groups/edit.html.tmpl b/template/en/default/admin/groups/edit.html.tmpl index bdda7e27b..d6044ad0f 100644 --- a/template/en/default/admin/groups/edit.html.tmpl +++ b/template/en/default/admin/groups/edit.html.tmpl @@ -143,14 +143,22 @@ value="[% group.membercansee FILTER none %]"> </td> [% END %] - <td align="center"> - <input type="checkbox" name="bless-[% group.grpid FILTER html %]" [% group.blessmember ? "checked " : "" %]value="1"> - <input type="hidden" name="oldbless-[% group.grpid FILTER html %]" value="[% group.blessmember FILTER html %]"> - </td> - <td align="center"> - <input type="checkbox" name="grp-[% group.grpid FILTER html %]" [% group.grpmember ? "checked " : "" %]value="1"> - <input type="hidden" name="oldgrp-[% group.grpid FILTER html %]" value="[% group.grpmember FILTER html %]"> - </td> + [% IF group_id != group.grpid %] + <td align="center"> + <input type="checkbox" name="bless-[% group.grpid FILTER html %]" [% group.blessmember ? "checked " : "" %]value="1"> + <input type="hidden" name="oldbless-[% group.grpid FILTER html %]" value="[% group.blessmember FILTER html %]"> + </td> + <td align="center"> + <input type="checkbox" name="grp-[% group.grpid FILTER html %]" [% group.grpmember ? "checked " : "" %]value="1"> + <input type="hidden" name="oldgrp-[% group.grpid FILTER html %]" value="[% group.grpmember FILTER html %]"> + </td> + [% ELSE %] + <td> + </td> + <td> + <input type="hidden" name="oldgrp-[% group.grpid FILTER html %]" value=""> + </td> + [% END %] <td align="left" class="groupname"> <a href="[% "editgroups.cgi?action=changeform&group=${group.grpid}" FILTER html %]"> [% group.grpnam FILTER html %] diff --git a/template/en/default/global/user-error.html.tmpl b/template/en/default/global/user-error.html.tmpl index 964832db6..a17b1275b 100644 --- a/template/en/default/global/user-error.html.tmpl +++ b/template/en/default/global/user-error.html.tmpl @@ -459,6 +459,10 @@ [% title = "Invalid group ID" %] The group you specified doesn't exist. + [% ELSIF error == "invalid_group_name" %] + [% title = "Invalid group name" %] + The group you specified, [% name FILTER html %], is not valid here. + [% ELSIF error == "invalid_maxrows" %] [% title = "Invalid Max Rows" %] The maximum number of rows, '[% maxrows FILTER html %]', must be |