Commit 3e6d909a authored by LE GAC Renaud's avatar LE GAC Renaud
Browse files

Update ui_viewport to modify the order of nodes.

parent d62aeda0
...@@ -61,6 +61,7 @@ ...@@ -61,6 +61,7 @@
'Conditions': 'Conditions', 'Conditions': 'Conditions',
'Configuration': 'Configuration', 'Configuration': 'Configuration',
'Configure': 'Configurer', 'Configure': 'Configurer',
'Configure lists and metrics': 'Configurer listes et métriques',
'Configure the column of the grid displayed in the view.': 'Configure les columns de la grille présenté dans la vue.', 'Configure the column of the grid displayed in the view.': 'Configure les columns de la grille présenté dans la vue.',
'contains': 'contiens', 'contains': 'contiens',
'Contract': 'Contrat', 'Contract': 'Contrat',
......
...@@ -35,10 +35,10 @@ class ViewportUi(object): ...@@ -35,10 +35,10 @@ class ViewportUi(object):
nodes = [ nodes = [
ViewportUi.help_node(db, T), ViewportUi.help_node(db, T),
ViewportUi.app_node(db, T), ViewportUi.app_node(db, T),
ViewportUi.configure_node(db, T), ViewportUi.event_node(db, T),
ViewportUi.meta_node(db, T), ViewportUi.meta_node(db, T),
ViewportUi.people_object_node(db, T), ViewportUi.people_object_node(db, T),
ViewportUi.event_node(db, T), ViewportUi.configure_node(db, T),
ViewportUi.source_node(db, T, selector_source), ViewportUi.source_node(db, T, selector_source),
ViewportUi.list_node(db, T, selector_list), ViewportUi.list_node(db, T, selector_list),
ViewportUi.metric2d_node(db, T, selector_metric2d)] ViewportUi.metric2d_node(db, T, selector_metric2d)]
...@@ -136,7 +136,7 @@ class ViewportUi(object): ...@@ -136,7 +136,7 @@ class ViewportUi(object):
dbui.Node: dbui.Node:
the configuration of a tree node. the configuration of a tree node.
""" """
node = Node(T("Configure")) node = Node(T("Configure lists and metrics"))
add_child = node.add_child add_child = node.add_child
add_child(T("the lists"), to_grid(db.lists2)) add_child(T("the lists"), to_grid(db.lists2))
......
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