]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/registry.py
Adds a couple of options to manage the "accepting answers" workflow.
[osqa.git] / forum / registry.py
index 6fad2f00d0f7fe04d56cc12487acfe11fde31136..95aea18da0b21e9353016ae9b59be50578608c01 100644 (file)
@@ -73,6 +73,11 @@ ui.register(ui.USER_MENU,
                 span_attrs={'class': 'user-subscriptions'},
                 weight=200
             ),
+            ui.UserMenuItem(
+                label=_("other preferences"),
+                url=lambda u, c: reverse('user_preferences', kwargs={'id': c['user'].id, 'slug': slugify(c['user'].username)}),
+                weight=200
+            ),
             ModerationMenuGroup(_("Moderation tools"), items=(
                 ui.UserMenuItem(
                     label=lambda u, c: c['user'].is_suspended() and _("withdraw suspension") or _("suspend this user"),