30 lines
759 B
HTML
30 lines
759 B
HTML
{% extends "base.html" %}
|
||
|
||
{% load i18n %}
|
||
{% load staticfiles %}
|
||
|
||
{% block title %}{{ block.super }} – {% trans "Home" %}{% endblock %}
|
||
|
||
{% block content %}
|
||
<h1>{{ title }}</h1>
|
||
<p>{{ welcometext|safe|linebreaks }}</p>
|
||
|
||
{% trans "You have access to the following pages:" %}
|
||
<ul>
|
||
{% for app in apps %}
|
||
<li><a href="{{ app.url }}">{{ app.title }}</a></li>
|
||
{% endfor %}
|
||
</ul>
|
||
{% endblock %}
|
||
|
||
{% block submenu %}
|
||
{% if perms.projector.can_see_projector %}
|
||
<h4 class="sectiontitle">{% trans "Home" %}</h4>
|
||
<ul>
|
||
<li>
|
||
<a href="{% url projector_show %}"><img src="{% static 'images/icons/projector.png' %}"> {% trans 'Projector view' %}</a>
|
||
</li>
|
||
</ul>
|
||
{% endif %}
|
||
{% endblock %}
|