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

Minor poslishing of the UI.

parent cb6d5ae4
......@@ -339,6 +339,7 @@
'Reject preprint is a published paper': 'Rejeté ce preprint est un article publié',
'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',
'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',
'Renderer': 'Moteur de rendu',
......
......@@ -8,14 +8,11 @@
#
#-------------------------------------------------------------------------------
fieldsModifier = dbui.FieldsModifier('publications')
fieldsModifier.configure_field('conference_start',
format='Y-m-d')
fieldsModifier.configure_field('publication_date',
format='Y-m-d')
fieldsModifier.configure_field('year',
maxValue=datetime.now().year)
fieldsModifier.configure_field('conference_start', format='Y-m-d')
fieldsModifier.configure_field('id_authors_roles', hidden=True)
fieldsModifier.configure_field('publication_date', format='Y-m-d')
fieldsModifier.configure_field('year', maxValue=datetime.now().year)
if session.role == USER:
fieldsModifier.configure_field('id_status', hidden=True)
......
......@@ -60,10 +60,12 @@ if session.role == ADMIN:
dataInstituteNode = None
if session.role == ADMIN:
leaves = ('authors_roles', 'organisation', 'projects', 'teams')
leaves = ('projects', 'teams')
dataInstituteNode = Node(T('Data institute'))
dataInstituteNode.add_children(leaves, func=to_grid)
dataInstituteNode.add_child(T('Relation team / projects'), to_grid('organisation'))
#-------------------------------------------------------------------------------
#
......
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