diff --git a/templates/_layout/header.twig b/templates/_layout/header.twig index 7e4fd55f..5832969c 100644 --- a/templates/_layout/header.twig +++ b/templates/_layout/header.twig @@ -34,6 +34,13 @@ { 'title': 'Forum', 'url': url('forum-index'), + 'menu': [ + { + 'title': 'Leaderboard', + 'url': url('forum-leaderboard'), + 'display': current_user.perms.forum|default(0)|perms_check(constant('MSZ_PERM_FORUM_VIEW_LEADERBOARD')), + }, + ], }, { 'title': 'Chat', @@ -102,20 +109,24 @@