Skip to content

Commit faf7849

Browse files
committed
don't show user id on wiki
1 parent 5ef827e commit faf7849

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

MANIFEST.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
include requirements.txt LICENSE.rst
1+
include LICENSE.rst
22
graft docs
33
prune docs/_build
44
recursive-include sopy/migrations *.py
55
graft sopy/static
66
graft sopy/templates
7-
recursive-exclude *.pyc
7+
global-exclude *.pyc

sopy/templates/wiki/detail.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ <h2 class="page-header">{% block title %}{{ page.title }}{% endblock %}</h2>
88
{% 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">
11-
<li><small><i>Last edited on {{ page.updated|datetimeformat }} by {{ page.author }}</i></small></li>
11+
<li><small><i>Last edited on {{ page.updated|datetimeformat }} by {{ page.author.display_name }}</i></small></li>
1212
{% if has_group('editor') or page.draft or page.community %}<li><a href="{{ page.update_url }}" class="btn btn-success btn-sm"><i class="fa fa-edit"></i> Edit</a></li>{% endif %}
1313
{% if has_group('editor') %}<li><a href="{{ page.delete_url }}" class="btn btn-danger btn-sm"><i class="fa fa-minus"></i> Remove</a></li>{% endif %}
1414
</ul>

0 commit comments

Comments
 (0)