diff options
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"),  | 
