diff options
author | 2018-06-03 13:11:30 +0100 | |
---|---|---|
committer | 2018-06-03 13:11:51 +0100 | |
commit | 6f87babab687b8a8caeedc4c2d4d3932ab59b782 (patch) | |
tree | 8d1664f843bf3b8e92e65ac0448a0d42dfab56f5 /templates | |
parent | [Wiki] Prefer horizontal whitespace over vertical (#85) (diff) |
[Wiki] Fix actions not showing in some desirable cases
Diffstat (limited to 'templates')
-rw-r--r-- | templates/wiki/base.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/wiki/base.html b/templates/wiki/base.html index 316e3d22..73b0f47c 100644 --- a/templates/wiki/base.html +++ b/templates/wiki/base.html @@ -77,7 +77,7 @@ "wiki.history.compare", "wiki.source", "wiki.delete", "wiki.move" ] %} - {% set actionable = can_edit and current_page in ACTIONABLE_PAGES %} + {% set actionable = current_page in ACTIONABLE_PAGES and can_edit %} {% if actionable %} <li class="uk-nav-divider"></li> |