diff options
author | Étienne Loks <etienne.loks@peacefrogs.net> | 2013-12-27 12:58:36 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@peacefrogs.net> | 2013-12-27 12:58:36 +0100 |
commit | e5c7be58af39faf76ba22e0868c7d98e1ac6fb6f (patch) | |
tree | fd7f7bf2661e890ff9fb0846aeea8dfecb07fa23 /archaeological_operations/ishtar_menu.py | |
parent | 9e058ac03ca182a85d26590960c1e0b0206663cd (diff) | |
download | Ishtar-e5c7be58af39faf76ba22e0868c7d98e1ac6fb6f.tar.bz2 Ishtar-e5c7be58af39faf76ba22e0868c7d98e1ac6fb6f.zip |
Manage administrativ act registers (refs #1587)
* specific wizard
* csv export
* new actions
Diffstat (limited to 'archaeological_operations/ishtar_menu.py')
-rw-r--r-- | archaeological_operations/ishtar_menu.py | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/archaeological_operations/ishtar_menu.py b/archaeological_operations/ishtar_menu.py index 6015ae43a..5fa3ab433 100644 --- a/archaeological_operations/ishtar_menu.py +++ b/archaeological_operations/ishtar_menu.py @@ -1,6 +1,6 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -# Copyright (C) 2012 Étienne Loks <etienne.loks_AT_peacefrogsDOTnet> +# Copyright (C) 2012-2013 Étienne Loks <etienne.loks_AT_peacefrogsDOTnet> # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as @@ -17,7 +17,7 @@ # See the file COPYING for details. -from django.utils.translation import ugettext_lazy as _ +from django.utils.translation import ugettext_lazy as _, pgettext_lazy from ishtar_common.menu_base import SectionItem, MenuItem @@ -90,6 +90,15 @@ MENU_SECTIONS = [ ]) ]), ), + (35, SectionItem('administrativact_management', _(u"Administrative Act"), + childs=[ + MenuItem('administrativact_register', + pgettext_lazy('admin act register',u"Register"), + model=models.AdministrativeAct, + access_controls=['view_administrativeact', + 'view_own_administrativeact']), + ]) + ), (102, SectionItem('dashboard', _(u"Dashboard"), childs=[ MenuItem('dashboard_main', _(u"General informations"), |