diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2022-11-14 18:58:48 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2022-12-12 12:23:19 +0100 |
commit | 4746cd2938df3cf87ae338d22eb4f67f35bac960 (patch) | |
tree | 1b823f5e78e7214f84da3892e0729c0c2706ad6d /archaeological_files/ishtar_menu.py | |
parent | 2fd7a306df69b723036a94346baa7ea17c9b7364 (diff) | |
download | Ishtar-4746cd2938df3cf87ae338d22eb4f67f35bac960.tar.bz2 Ishtar-4746cd2938df3cf87ae338d22eb4f67f35bac960.zip |
Remove dead code about dashboards
Diffstat (limited to 'archaeological_files/ishtar_menu.py')
-rw-r--r-- | archaeological_files/ishtar_menu.py | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/archaeological_files/ishtar_menu.py b/archaeological_files/ishtar_menu.py index 3d6b85466..517b0276d 100644 --- a/archaeological_files/ishtar_menu.py +++ b/archaeological_files/ishtar_menu.py @@ -100,34 +100,3 @@ MENU_SECTIONS = [ ), ), ] -""" - (100, - SectionItem( - 'dashboard', _("Dashboard"), - profile_restriction='files', - css='menu-file', - childs=[MenuItem('dashboard_main', _("General informations"), - model=models.File, - access_controls=['change_file', 'change_own_file']), - MenuItem('dashboard_file', _("Archaeological files"), - model=models.File, - access_controls=['change_file', 'change_own_file']), - ]), - ), - SectionItem('dashboard', _("Dashboard"), - childs=[ - MenuItem('dashboard_main', _("General informations"), - model=models.File, - access_controls=['change_file', 'change_own_file']), - MenuItem('dashboard_file', _("Archaeological files"), - model=models.File, - access_controls=['change_file', 'change_own_file']), - #MenuItem('dashboard_treatment', _("Treatments"), - # model=models.Treatment, - # access_controls=['change_treatment',]), - #MenuItem('dashboard_warehouse', _("Warehouses"), - # model=models.Warehouse, - # access_controls=['change_warehouse',]), - ]), - ] -""" |