summaryrefslogtreecommitdiff
path: root/main/actions.py
diff options
context:
space:
mode:
Diffstat (limited to 'main/actions.py')
-rw-r--r--main/actions.py9
1 files changed, 6 insertions, 3 deletions
diff --git a/main/actions.py b/main/actions.py
index 4bd3ea1..d2cd409 100644
--- a/main/actions.py
+++ b/main/actions.py
@@ -29,6 +29,9 @@ class Action:
def __init__(self, id, path, label):
self.id, self.path, self.label = id, EXTRA_URL + path, label
-actions = [Action('view', '', _('View')),
- Action('edit', 'edit', _('Add a new point of interest')),
- Action('edit_route', 'edit_route', _('Add a new route'))]
+actions = ((Action('view', '', _('View')), []),
+ (Action('contribute', 'edit', _('Contribute')),
+ (Action('edit', 'edit', _('Add a new point of interest')),
+ Action('edit_route', 'edit_route', _('Add a new route')))
+ ),
+ )