diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2016-12-07 20:01:09 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2016-12-07 20:01:09 +0100 |
commit | 86c95b458869560d97ede77579262c86597c4453 (patch) | |
tree | 5377e0e17c0a0f0952d37997aee038803b6ca680 /archaeological_finds/ishtar_menu.py | |
parent | fcf63a61bdcab906aad45c69eb95167850e2c40a (diff) | |
download | Ishtar-86c95b458869560d97ede77579262c86597c4453.tar.bz2 Ishtar-86c95b458869560d97ede77579262c86597c4453.zip |
Manage treatment files
Diffstat (limited to 'archaeological_finds/ishtar_menu.py')
-rw-r--r-- | archaeological_finds/ishtar_menu.py | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/archaeological_finds/ishtar_menu.py b/archaeological_finds/ishtar_menu.py index 6f2d53f1f..7824c94fe 100644 --- a/archaeological_finds/ishtar_menu.py +++ b/archaeological_finds/ishtar_menu.py @@ -106,6 +106,30 @@ MENU_SECTIONS = [ 'treatment_management', _(u"Treatment"), profile_restriction='warehouse', childs=[ + SectionItem( + 'find_treatmentfiles', _(u"Treatment Files"), + childs=[ + MenuItem('treatmentfle_search', + _(u"Search"), + model=models.TreatmentFile, + access_controls=['view_find', + 'view_own_find']), + MenuItem('treatmentfle_creation', + _(u"Creation"), + model=models.TreatmentFile, + access_controls=['change_find', + 'change_own_find']), + MenuItem('treatmentfle_modification', + _(u"Modification"), + model=models.TreatmentFile, + access_controls=['change_find', + 'change_own_find']), + MenuItem('treatmentfle_deletion', + _(u"Deletion"), + model=models.TreatmentFile, + access_controls=['change_find', + 'change_own_find']), + ]), SectionItem( 'find_treatments', _(u"Simple treatments"), childs=[ |