Sith/launderette/templates/launderette/launderette_main.jinja

22 lines
551 B
Plaintext
Raw Normal View History

2016-07-28 18:05:56 +00:00
{% extends "core/base.jinja" %}
{% block title %}
{% trans %}Launderette{% endtrans %}
{% endblock %}
{% block content %}
2016-09-11 17:00:12 +00:00
{% if request.user.can_edit(page) %}
2016-07-28 18:05:56 +00:00
<p><a href="{{ url('core:page_edit', page_name=page.get_full_name()) }}">{% trans %}Edit presentation page{% endtrans %}</a></p>
{% endif %}
{% if request.user.is_in_group(settings.SITH_MAIN_MEMBERS_GROUP) %}
<p><a href="{{ url('launderette:book_main') }}">{% trans %}Book launderette slot{% endtrans %}</a></p>
{% endif %}
{{ page.revisions.last().content|markdown }}
{% endblock %}