Add sub title explanation to the role permission view.

Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
Roberto Rosario
2018-08-22 00:15:52 -04:00
parent b3c4dd380c
commit 79095a88a0

View File

@@ -154,6 +154,10 @@ class SetupRolePermissionsView(AssignRemoveView):
def get_extra_context(self):
return {
'object': self.get_object(),
'subtitle': _(
'Permissions granted here will apply to the entire system '
'and all objects.'
),
'title': _('Permissions for role: %s') % self.get_object(),
}