rophako/rophako/modules/wiki/templates/wiki/page.html

25 lines
668 B
HTML
Raw Normal View History

2015-01-25 09:32:38 +00:00
{% extends "layout.html" %}
2015-01-25 09:44:52 +00:00
{% block title %}{{ title }}{% endblock %}
2015-01-25 09:32:38 +00:00
{% block content %}
<div class="right">
Last edited by {{ author["name"] }} on {{ pretty_time }}
[ <a href="{{ url_for('wiki.history', name=link) }}">History</a>
| <a href="{{ url_for('wiki.list_pages') }}">Index</a>
| <a href="{{ url_for('wiki.view_page', name=link, source='1') }}">Source</a>
2015-01-25 09:32:38 +00:00
{% if session["login"] %}
| <a href="{{ url_for('wiki.edit', name=title) }}">Edit</a>
| <a href="{{ url_for('wiki.edit') }}">New Page</a>
{% endif %}
]
</div>
2015-05-15 00:04:51 +00:00
<h1 class="wiki-title">{{ title }}</h1>
2015-01-25 09:32:38 +00:00
<hr>
2015-01-25 09:32:38 +00:00
{{ rendered_body|safe }}
{% endblock %}