From 8a225c2784f6343cd3958b2baabab5d462b46310 Mon Sep 17 00:00:00 2001 From: "travis%sedsystems.ca" <> Date: Thu, 17 Feb 2005 00:25:53 +0000 Subject: Bug 277768 : Some validations are missing when editing groups Patch by Frederic Buclin r=wurblzap a=justdave --- template/en/default/admin/groups/edit.html.tmpl | 6 +++--- template/en/default/global/user-error.html.tmpl | 9 +++++++-- 2 files changed, 10 insertions(+), 5 deletions(-) (limited to 'template') 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 @@ User Regexp: - - + + 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" %] + [% name FILTER html %] 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 -- cgit v1.2.3-24-g4f1b