Commit ab88ed94 authored by LE GAC Renaud's avatar LE GAC Renaud
Browse files

Polish the CAS node.

parent 37283927
......@@ -108,7 +108,7 @@
'Configure rapports': 'Configurer les rapports',
'contains': 'contiens',
'Controller': 'Controller',
'controllers': 'controllers',
'controllers': 'contrôleurs',
'Converters': 'Convertisseurs',
'Copyright': 'Copyright',
'Cotutelle': 'Cotutelle',
......@@ -187,6 +187,7 @@
'Group %(group_id)s created': 'Group %(group_id)s created',
'Group ID': 'Group ID',
'Group uniquely assigned to user %(id)s': 'Group uniquely assigned to user %(id)s',
'groups': 'groupes',
'Harvest': 'Moissonner',
'Harvester parameters not defined in the database.': 'Les paramètres du moissoneur ne sont pas définis dans la base de données.',
'Harvester(s)': 'Moissonneur(s)',
......@@ -342,6 +343,7 @@
'Reject preprint is a thesis': 'Rejeté ce preprint est une thèse',
'Reject the talk match a proceeding': 'Rejeté cette présentation est un actes de conférence',
'Relation team / projects': 'Relation équipe / projets',
'relation user / groups': 'relation utilisateur / groupes',
'Removing affiliation failed. Rules might be missing for the given string. Contact the author.': 'Removing affiliation failed. Rules might be missing for the given string. Contact the author.',
'Render': 'Moteur de rendu',
'render sections': 'Moteur de rendu des sections',
......@@ -459,6 +461,7 @@
'User %(id)s Profile updated': 'User %(id)s Profile updated',
'User %(id)s Registered': 'User %(id)s Registered',
'User ID': 'User ID',
'users': 'utilisateurs',
'Usual': 'Usual',
'Validate': 'Valider',
'value already in database or empty': 'value already in database or empty',
......
......@@ -18,11 +18,12 @@ PanelWithUrlSelector = dbui.to_panelWithUrlSelector
casNode = None
if "auth" in globals() and session.role == ADMIN:
leaves = ('auth_user', 'auth_group', 'auth_membership')
casNode = Node(T('CAS'))
casNode.add_children(leaves, func=to_grid)
casNode.add_child(T('users'), to_grid('auth_user'))
casNode.add_child(T('groups'), to_grid('auth_group'))
casNode.add_child(T('relation user / groups'), to_grid('auth_membership'))
#-------------------------------------------------------------------------------
#
# CONFIGURE HARVESTERS
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment