25 lines
817 B
HTML
25 lines
817 B
HTML
{% extends "base.html" %}
|
||
|
||
{% load tags %}
|
||
{% load i18n %}
|
||
{% load staticfiles %}
|
||
|
||
{% block title %}{{ block.super}} – {% trans 'Projector' %} {% endblock %}
|
||
|
||
{% block submenu %}
|
||
{% url projector_control as url_projectoroverview %}
|
||
<h4 class="sectiontitle">{%trans "Projector" %}</h4>
|
||
<ul>
|
||
{% if perms.projector.can_manage_projector %}
|
||
<li class="{% if request.path == url_projectoroverview %}selected{% endif %}">
|
||
<a href="{% url projector_control %}">{% trans 'Overview' %}</a>
|
||
</li>
|
||
{% endif %}
|
||
{% if perms.projector.can_see_projector %}
|
||
<li>
|
||
<a href="{% url projector_show %}"><img src="{% static 'images/icons/video-projector.png' %}"> {% trans 'Projector view' %}</a>
|
||
</li>
|
||
{% endif %}
|
||
</ul>
|
||
{% endblock %}
|