X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/f982c8513663a0f9927fb04ba650a5f63bb7f21f..cf4c6f115a98cb8574c9665f34a50ae503a57b79:/forum/registry.py?ds=sidebyside diff --git a/forum/registry.py b/forum/registry.py index 6fad2f0..95aea18 100644 --- a/forum/registry.py +++ b/forum/registry.py @@ -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"),