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

move the editLeaf and marc12Leaf at their corrected places.

parent 09dd9010
......@@ -16,7 +16,7 @@ Window = dbui.Window
# APPLICATION
#
#-------------------------------------------------------------------------------
appNode = Node
appNode = None
if session.role == ADMIN:
appNode = Node(T('Application'))
......@@ -120,9 +120,6 @@ if session.role in (ADMIN, USER):
#-------------------------------------------------------------------------------
harvestNode = None
if session.role in (ADMIN, USER):
editLeaf = PanelWithUrlSelector(virtdb.edit_insert_selector,
baseUrl=URL('harvest', 'edit_insert'),
selectorTitle='Fill all fields')
freeLeaf = PanelWithUrlSelector(virtdb.free_harvester_selector,
baseUrl=URL('harvest', 'free_run'),
......@@ -134,10 +131,6 @@ if session.role in (ADMIN, USER):
extField='format',
timeout=ONE_HOUR)
marc12Leaf = PanelWithUrlSelector(virtdb.marc12_selector,
selectorTitle='Fill all fields',
baseUrl=URL('harvest', 'insert_marcxml'))
runAllLeaf = PanelWithUrlSelector(virtdb.run_all_harvesters_selector,
baseUrl=URL('harvest', 'run_all'),
extField='format',
......@@ -235,6 +228,15 @@ if session.role in (ADMIN, USER):
extField='format',
timeout=ONE_HOUR)
editLeaf = PanelWithUrlSelector(virtdb.edit_insert_selector,
baseUrl=URL('harvest', 'edit_insert'),
selectorTitle='Fill all fields')
marc12Leaf = PanelWithUrlSelector(virtdb.marc12_selector,
selectorTitle='Fill all fields',
baseUrl=URL('harvest', 'insert_marcxml'))
wizardNode = Node(T('Wizards'))
wizardNode.add_child(T('extract authors'), authorLeaf)
......
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