summaryrefslogtreecommitdiff
path: root/archaeological_finds/ishtar_menu.py
diff options
context:
space:
mode:
Diffstat (limited to 'archaeological_finds/ishtar_menu.py')
-rw-r--r--archaeological_finds/ishtar_menu.py22
1 files changed, 21 insertions, 1 deletions
diff --git a/archaeological_finds/ishtar_menu.py b/archaeological_finds/ishtar_menu.py
index daa12a37b..d7a67091a 100644
--- a/archaeological_finds/ishtar_menu.py
+++ b/archaeological_finds/ishtar_menu.py
@@ -1,6 +1,6 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
-# Copyright (C) 2012-2015 Étienne Loks <etienne.loks_AT_peacefrogsDOTnet>
+# Copyright (C) 2012-2016 É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
@@ -56,6 +56,26 @@ MENU_SECTIONS = [
access_controls=['change_find',
'change_own_find']),
SectionItem(
+ 'find_basket', _(u"Basket"),
+ childs=[
+ MenuItem('find_basket_creation',
+ _(u"Creation"),
+ model=models.FindBasket,
+ access_controls=['change_find',
+ 'change_own_find']),
+ MenuItem('find_basket_modification_add',
+ _(u"Manage items"),
+ model=models.FindBasket,
+ access_controls=[
+ 'change_find',
+ 'change_own_find']),
+ MenuItem('find_basket_deletion',
+ _(u"Deletion"),
+ model=models.FindBasket,
+ access_controls=['change_find',
+ 'change_own_find']),
+ ]),
+ SectionItem(
'find_source', _(u"Documentation"),
childs=[
MenuItem('find_source_creation',