side-menu for projector

This commit is contained in:
Oskar Hahn 2012-03-03 11:19:58 +01:00
parent a25d980f92
commit 50360dde96
3 changed files with 16 additions and 4 deletions

View File

@ -12,8 +12,5 @@
{% if perms.agenda.can_manage_agenda %}
<li class="{% active request '/agenda/new/' %}"><a href="{% url item_new %}">{%trans "New item" %}</a></li>
{% endif %}
{% if perms.agenda.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 %}

View File

@ -0,0 +1,15 @@
{% extends "base.html" %}
{% load tags %}
{% load i18n %}
{% block submenu %}
{% url item_overview as url_itemoverview %}
{% url item_new as url_itemnew %}
<h4 class="sectiontitle">{%trans "Projector" %}</h4>
<ul>
{% if perms.agenda.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 %}

View File

@ -1,4 +1,4 @@
{% extends "base.html" %}
{% extends "projector/base_projector.html" %}
{% load tags %}
{% load i18n %}