mirror of
https://github.com/ae-utbm/sith.git
synced 2024-11-19 12:43:23 +00:00
22 lines
551 B
Django/Jinja
22 lines
551 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_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 %}
|
|
|
|
|
|
|
|
|
|
|