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

Modify the viewport to deal with objects tables.

parent b0431b71
......@@ -30,6 +30,7 @@
'auth_membership': 'auth_membership',
'auth_permission': 'auth_permission',
'auth_user': 'auth_user',
'Batch Number': 'Lot',
'Binary files': 'Fichiers binaires',
'Birth Date': 'Né le',
'budgets': 'budgets',
......@@ -125,6 +126,7 @@
'Filter hardware': 'Filtrer le matérielle',
'Filter history': "Filtrer l'historique",
'Filter levels': 'Filtrer les niveaus',
'Filter objects': 'Filtrer les objects',
'Filter organizations': 'Filtrer les organisations',
'Filter people': 'Filtrer les persones',
'Filter projects': 'Filtrer les projets',
......@@ -250,6 +252,8 @@
'Object category': 'Cat. objet',
'Object code': 'Code objet',
'Object or table name': 'Object or table name',
'object_categories': "catégories d'object",
'objects': 'objets',
'Open source': 'Code open source',
'Order by': 'Trié par',
'Orderby': 'Trié par',
......@@ -258,6 +262,7 @@
"Password fields don't match": "Password fields don't match",
'People': 'Personnes',
'people': 'personnes',
'People and objects': 'Personne & objets',
'People category': 'Cat. personne',
'People per category': 'Personnes par catégorie',
'People per quality': 'Personnes par qualité',
......@@ -312,6 +317,7 @@
'Select a teams and/or a project !!!': 'Select a teams and/or a project !!!',
'Select the history records. It can used any field of the history table using the SQL WHERE syntax, but the foreign keys are not resolved nor the individual property of the history.data dictionary. (more information in the smart_query in the web2py documentation).': "Selectionne l'historique. C'est une requête SQL WHERE bâtie à partir des champs des la table history, mais les clés étrangères ne sont pas résolues ni les clés du dictionnaire history.data dictionary. (voir les requêtes 'smart_query' dans la documentaion web2py).",
'select...': 'selectionner...',
'Serial Number': 'Numéro de Série',
'Sign Up': 'Sign Up',
'since %s': 'depuis %s',
'software': 'logiciels',
......
......@@ -80,11 +80,21 @@ cfgNode.add_child(T('the graphs'), to_grid('graphs'))
metaNode = Node(T('Metadata'))
metaNode.add_child(T('fundings'), to_grid('fundings'))
metaNode.add_child(T('teams'), to_grid('teams'))
metaNode.add_child(T('people'), to_grid('people'))
metaNode.add_child(T('people_categories'), to_grid('people_categories'))
metaNode.add_child(T('projects'), to_grid('projects'))
metaNode.sort_children()
#-------------------------------------------------------------------------------
#
# PEOPLE & OBJECT
#
#-------------------------------------------------------------------------------
objectNode = Node(T('People and objects'))
objectNode.add_child(T('people'), to_grid('people'))
objectNode.add_child(T('people_categories'), to_grid('people_categories'))
objectNode.add_child(T('objects'), to_grid('objects'))
objectNode.add_child(T('object_categories'), to_grid('object_categories'))
objectNode.sort_children()
#-------------------------------------------------------------------------------
#
# EVENT
......@@ -168,6 +178,7 @@ nodes = [helpNode,
casNode,
cfgNode,
metaNode,
objectNode,
eventNode,
listNode,
metric1dNode,
......
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