Skip to content

Commit 1bc7004

Browse files
committed
use correct variable name
1 parent c6f3487 commit 1bc7004

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

sopy/templates/wiki/detail.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
<div class="row"><div class="col-md-12">
55
<h2 class="page-header">{% block title %}{{ page.title }}{% endblock %}</h2>
66

7-
{% if item.draft %}<div class="alert alert-warning">This page is in draft mode. Only editors can see it listed. Any user with 100 rep with the link may edit it.</div>{% endif %}
8-
{% if item.community %}<div class="alert alert-info">This page is in community mode. Any user with 100 rep may edit it.</div>{% endif %}
7+
{% if page.draft %}<div class="alert alert-warning">This page is in draft mode. Only editors can see it listed. Any user with 100 rep with the link may edit it.</div>{% endif %}
8+
{% if page.community %}<div class="alert alert-info">This page is in community mode. Any user with 100 rep may edit it.</div>{% endif %}
99

1010
<ul class="list-inline pull-right">
1111
<li><small><i>Last edited {{ page.updated|datetimeformat }}</i></small></li>

0 commit comments

Comments
 (0)