Commit 68732769 authored by Andreas Jung's avatar Andreas Jung

added "Browse" tab

parent 26a18993
...@@ -88,10 +88,15 @@ class DateIndex(UnIndex, PropertyManager): ...@@ -88,10 +88,15 @@ class DateIndex(UnIndex, PropertyManager):
'mode':'w'},) 'mode':'w'},)
manage = manage_main = DTMLFile( 'dtml/manageDateIndex', globals() ) manage = manage_main = DTMLFile( 'dtml/manageDateIndex', globals() )
manage_browse = DTMLFile('../dtml/browseIndex', globals())
manage_main._setName( 'manage_main' ) manage_main._setName( 'manage_main' )
manage_options = ( { 'label' : 'Settings' manage_options = ( { 'label' : 'Settings'
, 'action' : 'manage_main' , 'action' : 'manage_main'
}, },
{'label': 'Browse',
'action': 'manage_browse',
},
) + PropertyManager.manage_options ) + PropertyManager.manage_options
def clear( self ): def clear( self ):
......
...@@ -34,6 +34,9 @@ class KeywordIndex(UnIndex): ...@@ -34,6 +34,9 @@ class KeywordIndex(UnIndex):
{'label': 'Settings', {'label': 'Settings',
'action': 'manage_main', 'action': 'manage_main',
'help': ('KeywordIndex','KeywordIndex_Settings.stx')}, 'help': ('KeywordIndex','KeywordIndex_Settings.stx')},
{'label': 'Browse',
'action': 'manage_browse',
'help': ('FieldIndex','FieldIndex_Settings.stx')},
) )
query_options = ("query","operator", "range") query_options = ("query","operator", "range")
...@@ -128,6 +131,7 @@ class KeywordIndex(UnIndex): ...@@ -128,6 +131,7 @@ class KeywordIndex(UnIndex):
index_html = DTMLFile('dtml/index', globals()) index_html = DTMLFile('dtml/index', globals())
manage_workspace = DTMLFile('dtml/manageKeywordIndex', globals()) manage_workspace = DTMLFile('dtml/manageKeywordIndex', globals())
manage_browse = DTMLFile('../dtml/browseIndex', globals())
......
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