2012-03-03 11:19:58 +01:00
|
|
|
|
{% extends "base.html" %}
|
|
|
|
|
|
|
|
|
|
{% load tags %}
|
|
|
|
|
{% load i18n %}
|
2012-04-14 14:51:56 +02:00
|
|
|
|
{% load staticfiles %}
|
2012-03-03 11:19:58 +01:00
|
|
|
|
|
2012-03-16 12:28:42 +01:00
|
|
|
|
{% block title %}{{ block.super}} – {% trans 'Projector' %} {% endblock %}
|
2012-03-12 18:22:18 +01:00
|
|
|
|
|
2012-03-03 11:19:58 +01:00
|
|
|
|
{% block submenu %}
|
2012-03-22 17:30:02 +01:00
|
|
|
|
{% url projector_control as url_projectoroverview %}
|
2012-03-03 11:19:58 +01:00
|
|
|
|
<h4 class="sectiontitle">{%trans "Projector" %}</h4>
|
|
|
|
|
<ul>
|
2012-03-22 17:30:02 +01:00
|
|
|
|
{% if perms.projector.can_manage_projector %}
|
|
|
|
|
<li class="{% if request.path == url_projectoroverview %}selected{% endif %}">
|
2012-04-14 09:47:34 +02:00
|
|
|
|
<a href="{% url projector_control %}">{% trans 'Overview' %}</a>
|
|
|
|
|
</li>
|
2012-03-22 17:30:02 +01:00
|
|
|
|
{% endif %}
|
2012-03-12 18:22:18 +01:00
|
|
|
|
{% if perms.projector.can_see_projector %}
|
2012-04-14 09:47:34 +02:00
|
|
|
|
<li>
|
2012-04-14 14:51:56 +02:00
|
|
|
|
<a href="{% url projector_show %}"><img src="{% static 'images/icons/video-projector.png' %}"> {% trans 'Projector view' %}</a>
|
2012-04-14 09:47:34 +02:00
|
|
|
|
</li>
|
2012-03-03 11:19:58 +01:00
|
|
|
|
{% endif %}
|
|
|
|
|
</ul>
|
|
|
|
|
{% endblock %}
|