mirror of
https://github.com/ae-utbm/sith.git
synced 2024-11-26 02:54:20 +00:00
22 lines
539 B
Django/Jinja
22 lines
539 B
Django/Jinja
{% extends "core/base.jinja" %}
|
|
|
|
{% block title %}
|
|
{% trans %}Launderette{% endtrans %}
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
{% if request.user.can_edit(page) %}
|
|
<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_subscribed %}
|
|
<p><a href="{{ url('launderette:book_main') }}">{% trans %}Book launderette slot{% endtrans %}</a></p>
|
|
{% endif %}
|
|
|
|
{{ page.revisions.last().content|markdown }}
|
|
{% endblock %}
|
|
|
|
|
|
|
|
|
|
|