Skip to content

Commit 948d294

Browse files
committed
clarify messages for community and draft modes
related to #32
1 parent 6c55b30 commit 948d294

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

sopy/templates/canon/detail.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
<div class="row"><div class="col-md-12">
77
<h2 class="page-header">{{ item.title|markdown }}</h2>
88

9-
{% if item.draft %}<div class="alert alert-warning">This page is in draft mode. Only editors or anyone with the link may view it.</div>{% endif %}
10-
{% if item.community %}<div class="alert alert-info">This page is in community mode. Any logged in users may edit it.</div>{% endif %}
9+
{% 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 %}
10+
{% if item.community %}<div class="alert alert-info">This page is in community mode. Any user with 100 rep may edit it.</div>{% endif %}
1111

1212
<ul class="list-inline pull-right">
1313
{% if has_group('editor') or item.draft or item.community %}<li><a href="{{ item.update_url }}" class="btn btn-success btn-sm"><i class="fa fa-edit"></i> Edit</a></li>{% endif %}

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 page.draft %}<div class="alert alert-warning">This page is in draft mode. Only editors or anyone with the link may view it.</div>{% endif %}
8-
{% if page.community %}<div class="alert alert-info">This page is in community mode. Any logged in users may edit it.</div>{% endif %}
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 %}
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)