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 | 585fdd5e71d397a188af3285658795a1feee9516 (patch) | |
| tree | fd7f7bf2661e890ff9fb0846aeea8dfecb07fa23 /archaeological_operations/ishtar_menu.py | |
| parent | fbd88abd65711bfb6698ec6e4a365d90d1eea837 (diff) | |
| download | Ishtar-585fdd5e71d397a188af3285658795a1feee9516.tar.bz2 Ishtar-585fdd5e71d397a188af3285658795a1feee9516.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"),  | 
