summaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
authortravis%sedsystems.ca <>2005-02-17 01:25:53 +0100
committertravis%sedsystems.ca <>2005-02-17 01:25:53 +0100
commit8a225c2784f6343cd3958b2baabab5d462b46310 (patch)
tree7f156d27281486de65f2847beffaeb7b41354605 /template
parentea7030a701bfdb503df542c3d7e814b8ea702929 (diff)
downloadbugzilla-8a225c2784f6343cd3958b2baabab5d462b46310.tar.gz
bugzilla-8a225c2784f6343cd3958b2baabab5d462b46310.tar.xz
Bug 277768 : Some validations are missing when editing groups
Patch by Frederic Buclin <LpSolit@gmail.com> r=wurblzap a=justdave
Diffstat (limited to 'template')
-rw-r--r--template/en/default/admin/groups/edit.html.tmpl6
-rw-r--r--template/en/default/global/user-error.html.tmpl9
2 files changed, 10 insertions, 5 deletions
diff --git a/template/en/default/admin/groups/edit.html.tmpl b/template/en/default/admin/groups/edit.html.tmpl
index d6044ad0f..92b8e9c2e 100644
--- a/template/en/default/admin/groups/edit.html.tmpl
+++ b/template/en/default/admin/groups/edit.html.tmpl
@@ -26,7 +26,7 @@
# group_id: number. The group ID.
# name: string. The name of the group. [grantor]
# description: string. The description of the group.
- # rexp: string. The regular expression for the users of the group.
+ # regexp: string. The regular expression for the users of the group.
# isactive: boolean int. Shows if the group is still active.
# isbuggroup: boolean int. Is 1 if this is a bug group.
# groups: array with group objects having the properties:
@@ -83,8 +83,8 @@
<tr>
<th>User Regexp:</th>
<td>
- <input type="hidden" name="oldrexp" value="[% rexp FILTER html %]">
- <input type="text" name="rexp" size="40" value="[% rexp FILTER html %]">
+ <input type="hidden" name="oldregexp" value="[% regexp FILTER html %]">
+ <input type="text" name="regexp" size="40" value="[% regexp FILTER html %]">
</td>
</tr>
diff --git a/template/en/default/global/user-error.html.tmpl b/template/en/default/global/user-error.html.tmpl
index 41661886c..5c293bd2b 100644
--- a/template/en/default/global/user-error.html.tmpl
+++ b/template/en/default/global/user-error.html.tmpl
@@ -309,11 +309,11 @@
[% ELSIF error == "empty_group_description" %]
[% title = "The group description can not be empty" %]
- You must enter a description for the new group.
+ You must enter a description for the group.
[% ELSIF error == "empty_group_name" %]
[% title = "The group name can not be empty" %]
- You must enter a name for the new group.
+ You must enter a name for the group.
[% ELSIF error == "entry_access_denied" %]
[% title = "Permission Denied" %]
@@ -402,6 +402,11 @@
[% title = "Group not specified" %]
No group was specified.
+ [% ELSIF error == "system_group_not_deletable" %]
+ [% title = "System Groups not deletable" %]
+ <em>[% name FILTER html %]</em> is a system group.
+ This group cannot be deleted.
+
[% ELSIF error == "group_unknown" %]
[% title = "Unknown Group" %]
The group [% name FILTER html %] does not exist. Please specify