##// END OF EJS Templates
branch-permissions: add flash info when redirected from branch permissions page to indicate required action
marcink -
r3438:abae8687 default
parent child Browse files
Show More
@@ -50,8 +50,13 b' class RepoSettingsPermissionsView(RepoAp'
50 route_name='edit_repo_perms', request_method='GET',
50 route_name='edit_repo_perms', request_method='GET',
51 renderer='rhodecode:templates/admin/repos/repo_edit.mako')
51 renderer='rhodecode:templates/admin/repos/repo_edit.mako')
52 def edit_permissions(self):
52 def edit_permissions(self):
53 _ = self.request.translate
53 c = self.load_default_context()
54 c = self.load_default_context()
54 c.active = 'permissions'
55 c.active = 'permissions'
56 if self.request.GET.get('branch_permissions'):
57 h.flash(_('Explicitly add user or user group with write+ '
58 'permission to modify their branch permissions.'),
59 category='notice')
55 return self._get_template_context(c)
60 return self._get_template_context(c)
56
61
57 @LoginRequired()
62 @LoginRequired()
General Comments 0
You need to be logged in to leave comments. Login now