From 3d463f780fd2051751f276f71e27bb47e96dc2aa Mon Sep 17 00:00:00 2001 From: David Lawrence Date: Wed, 2 Sep 2015 14:40:56 +0800 Subject: Bug 1196618 - add support for group owners --- template/en/default/global/messages.html.tmpl | 2 ++ template/en/default/global/user-error.html.tmpl | 6 +++++- 2 files changed, 7 insertions(+), 1 deletion(-) (limited to 'template/en/default/global') diff --git a/template/en/default/global/messages.html.tmpl b/template/en/default/global/messages.html.tmpl index d5d4a563d..83b20f4f6 100644 --- a/template/en/default/global/messages.html.tmpl +++ b/template/en/default/global/messages.html.tmpl @@ -409,6 +409,8 @@ [% END %] [% CASE 'icon_url' %]
  • The group icon URL has been updated.
  • + [% CASE 'owner_user_id' %] +
  • The group owner was updated.
  • [% CASE 'members_add' %]
  • The following groups are now members of this group: [%+ changes.members_add.join(', ') FILTER html %]
  • diff --git a/template/en/default/global/user-error.html.tmpl b/template/en/default/global/user-error.html.tmpl index 6f352e5ac..332075b69 100644 --- a/template/en/default/global/user-error.html.tmpl +++ b/template/en/default/global/user-error.html.tmpl @@ -541,7 +541,11 @@ [% ELSIF error == "empty_group_name" %] [% title = "The group name can not be empty" %] You must enter a name for the group. - + + [% ELSIF error == "group_needs_owner" %] + [% title = "Non-System Groups Require Default Owner" %] + You must enter a default owner login for non-system groups. + [% ELSIF error == "entry_access_denied" %] [% title = "Permission Denied" %] [% admindocslinks = {'groups.html' => 'Group Security'} %] -- cgit v1.2.3-24-g4f1b