diff options
| author | Étienne Loks <etienne.loks@iggdrasil.net> | 2019-06-05 16:00:10 +0200 | 
|---|---|---|
| committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2019-06-17 13:22:54 +0200 | 
| commit | 8285022df29732ef16ff50f53501b75ff337a30c (patch) | |
| tree | b9e1f79aa2ac7c321695f904a72d2d8bcde388a2 | |
| parent | 056d66ba290b4a226eb240f91ca165efe885c668 (diff) | |
| download | Ishtar-8285022df29732ef16ff50f53501b75ff337a30c.tar.bz2 Ishtar-8285022df29732ef16ff50f53501b75ff337a30c.zip | |
Remove dashboard from menus
| -rw-r--r-- | archaeological_files/ishtar_menu.py | 4 | ||||
| -rw-r--r-- | archaeological_operations/ishtar_menu.py | 4 | 
2 files changed, 5 insertions, 3 deletions
| diff --git a/archaeological_files/ishtar_menu.py b/archaeological_files/ishtar_menu.py index 2b1433e15..8aef5f7b4 100644 --- a/archaeological_files/ishtar_menu.py +++ b/archaeological_files/ishtar_menu.py @@ -74,6 +74,8 @@ MENU_SECTIONS = [                                model=AdministrativeAct,                                access_controls=['change_administrativeact']),                   ],)]),), +] +"""      (100,       SectionItem(           'dashboard', _(u"Dashboard"), @@ -87,8 +89,6 @@ MENU_SECTIONS = [                            access_controls=['change_file', 'change_own_file']),                   ]),       ), -] -"""          SectionItem('dashboard', _(u"Dashboard"),              childs=[                      MenuItem('dashboard_main', _(u"General informations"), diff --git a/archaeological_operations/ishtar_menu.py b/archaeological_operations/ishtar_menu.py index bfc027573..1c69c2147 100644 --- a/archaeological_operations/ishtar_menu.py +++ b/archaeological_operations/ishtar_menu.py @@ -125,6 +125,8 @@ MENU_SECTIONS = [                       access_controls=['change_archaeologicalsite']),          ]),      ), +] +"""      (          102, SectionItem(              'dashboard', _(u"Dashboard"), @@ -140,4 +142,4 @@ MENU_SECTIONS = [                      access_controls=['change_operation']),              ]),      ), -] +""" | 
