2012-04-15 11:24:40 +02:00
|
|
|
|
{% extends "base.html" %}
|
|
|
|
|
|
|
|
|
|
{% load i18n %}
|
2012-05-20 20:51:11 +02:00
|
|
|
|
{% load staticfiles %}
|
2012-04-15 11:24:40 +02:00
|
|
|
|
|
2012-04-15 13:26:01 +02:00
|
|
|
|
{% block title %}{{ block.super }} – {% trans "Home" %}{% endblock %}
|
2012-04-15 11:24:40 +02:00
|
|
|
|
|
|
|
|
|
{% block content %}
|
2012-04-15 13:26:01 +02:00
|
|
|
|
<h1>{{ title }}</h1>
|
|
|
|
|
<p>{{ welcometext|safe|linebreaks }}</p>
|
|
|
|
|
|
|
|
|
|
{% trans "You have access to the following pages:" %}
|
2012-04-15 11:24:40 +02:00
|
|
|
|
<ul>
|
|
|
|
|
{% for app in apps %}
|
|
|
|
|
<li><a href="{{ app.url }}">{{ app.title }}</a></li>
|
|
|
|
|
{% endfor %}
|
|
|
|
|
</ul>
|
|
|
|
|
{% endblock %}
|
2012-05-20 20:51:11 +02:00
|
|
|
|
|
|
|
|
|
{% block submenu %}
|
|
|
|
|
{% if perms.projector.can_see_projector %}
|
2012-07-16 14:00:29 +02:00
|
|
|
|
<h4 class="sectiontitle">{% trans "Home" %}</h4>
|
2012-05-20 20:51:11 +02:00
|
|
|
|
<ul>
|
|
|
|
|
<li>
|
|
|
|
|
<a href="{% url projector_show %}"><img src="{% static 'images/icons/projector.png' %}"> {% trans 'Projector view' %}</a>
|
|
|
|
|
</li>
|
|
|
|
|
</ul>
|
|
|
|
|
{% endif %}
|
2012-07-16 14:00:29 +02:00
|
|
|
|
{% endblock %}
|