Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
web: Add the list of users in the special pages section.
- Loading branch information
1 parent
a9ad15b
commit d509fd8
Showing
4 changed files
with
74 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{% extends 'index.html' %} | ||
{% block nav %}{% include 'special-nav.html' %}{% endblock %} | ||
{% block content %} | ||
<article> | ||
<header> | ||
<h1>{{title}}</h1> | ||
</header> | ||
<section> | ||
<p>Here are the users on this wiki:</p> | ||
{%if users%} | ||
<ul> | ||
{%for u in users%} | ||
<li><a href="{{u.url}}">{{u.username}}</a></li> | ||
{%endfor%} | ||
</ul> | ||
{%else%} | ||
<p>This wiki has no users! You can edit its configuration file | ||
to add some.</p> | ||
{%endif%} | ||
</section> | ||
</article> | ||
{% endblock %} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters