Skip to content
This repository
  • 2 commits
  • 1 file changed
  • 0 comments
  • 2 contributors

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  apps/wiki/templates/wiki/document.html
2  apps/wiki/templates/wiki/document.html
@@ -284,7 +284,7 @@ <h1 class="page-title">{{ document.title }}</h1>
284 284 {% include 'wiki/includes/attachment_list.html' %}
285 285 {% endif %}
286 286
287   - {% if document.current_revision and document.allows_revision_by(request.user) %}
  287 + {% if request.user.is_authenticated() and document.current_revision and document.allows_revision_by(request.user) %}
288 288 {% if document.current_revision.needs_technical_review() or document.current_revision.needs_editorial_review() %}
289 289 <section class="page-meta">
290 290 <h2>{{ _('Quick review') }}</h2>

No commit comments for this range

Something went wrong with that request. Please try again.