diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2018-06-01 15:50:52 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2018-06-12 09:57:24 +0200 |
commit | 7343c9f1bbc28be270b2093dcd9e713a7bdcdb89 (patch) | |
tree | 0ed9392291c50980c7dbff14c9a05edc601076de /archaeological_finds/ishtar_menu.py | |
parent | 10b603af68689ea3b251006b7ec05855b9616811 (diff) | |
download | Ishtar-7343c9f1bbc28be270b2093dcd9e713a7bdcdb89.tar.bz2 Ishtar-7343c9f1bbc28be270b2093dcd9e713a7bdcdb89.zip |
Adapt forms, wizards, views, urls for new management of documents (refs #4107)
Diffstat (limited to 'archaeological_finds/ishtar_menu.py')
-rw-r--r-- | archaeological_finds/ishtar_menu.py | 74 |
1 files changed, 0 insertions, 74 deletions
diff --git a/archaeological_finds/ishtar_menu.py b/archaeological_finds/ishtar_menu.py index 4877e442c..715644b61 100644 --- a/archaeological_finds/ishtar_menu.py +++ b/archaeological_finds/ishtar_menu.py @@ -73,30 +73,6 @@ MENU_SECTIONS = [ access_controls=['change_find', 'change_own_find']), ]), - SectionItem( - 'find_source', _(u"Documentation"), - childs=[ - MenuItem('find_source_search', - _(u"Search"), - model=models.FindSource, - access_controls=['view_find', - 'view_own_find']), - MenuItem('find_source_creation', - _(u"Creation"), - model=models.FindSource, - access_controls=['change_find', - 'change_own_find']), - MenuItem('find_source_modification', - _(u"Modification"), - model=models.FindSource, - access_controls=['change_find', - 'change_own_find']), - MenuItem('find_source_deletion', - _(u"Deletion"), - model=models.FindSource, - access_controls=['change_find', - 'change_own_find']), - ]), # MenuItem( # 'treatment_creation', _(u"Add a treatment"), # model=models.Treatment, @@ -153,31 +129,6 @@ MENU_SECTIONS = [ access_controls=['change_administrativeact']), ] ), - SectionItem( - 'treatmentfile_source', _(u"Source"), - childs=[ - MenuItem('treatmentfile_source_search', - _(u"Search"), - model=models.TreatmentFileSource, - access_controls=['view_treatmentfile', - 'view_own_treatmentfile']), - MenuItem('treatmentfile_source_creation', - _(u"Creation"), - model=models.TreatmentFileSource, - access_controls=['change_treatmentfile', - 'change_own_treatmentfile']), - MenuItem('treatmentfile_source_modification', - _(u"Modification"), - model=models.TreatmentFileSource, - access_controls=['change_treatmentfile', - 'change_own_treatmentfile']), - MenuItem('treatmentfile_source_deletion', - _(u"Deletion"), - model=models.TreatmentFileSource, - access_controls=['change_treatmentfile', - 'change_own_treatmentfile']), - ] - ), ] )), (70, @@ -234,31 +185,6 @@ MENU_SECTIONS = [ model=AdministrativeAct, access_controls=['change_administrativeact']), ]), - SectionItem( - 'treatment_source', _(u"Source"), - childs=[ - MenuItem('treatment_source_search', - _(u"Search"), - model=models.TreatmentSource, - access_controls=['view_treatment', - 'view_own_treatment']), - MenuItem('treatment_source_creation', - _(u"Creation"), - model=models.TreatmentSource, - access_controls=['change_treatment', - 'change_own_treatment']), - MenuItem('treatment_source_modification', - _(u"Modification"), - model=models.TreatmentSource, - access_controls=['change_treatment', - 'change_own_treatment']), - MenuItem('treatment_source_deletion', - _(u"Deletion"), - model=models.TreatmentSource, - access_controls=['change_treatment', - 'change_own_treatment']), - ] - ), ] )), ] |