From 2134ee4156b6c8161429802625f8b4737f989f95 Mon Sep 17 00:00:00 2001 From: Gareth Coles Date: Mon, 14 Oct 2019 15:21:11 +0100 Subject: Wiki: Show breadcrumb without menus for users that can't edit, without the root shown --- .../templates/wiki/includes/breadcrumbs.html | 110 +++++++++++---------- 1 file changed, 58 insertions(+), 52 deletions(-) (limited to 'pydis_site') diff --git a/pydis_site/templates/wiki/includes/breadcrumbs.html b/pydis_site/templates/wiki/includes/breadcrumbs.html index 47da9bc2..791beb90 100644 --- a/pydis_site/templates/wiki/includes/breadcrumbs.html +++ b/pydis_site/templates/wiki/includes/breadcrumbs.html @@ -1,14 +1,18 @@ {% load wiki_tags %} -{% if urlpath and article and article|can_write:user %} +{% if urlpath and article %}