Minor template fixes.
This commit is contained in:
parent
d4b86574e9
commit
a11ed6cfdb
@ -44,7 +44,7 @@
|
||||
<h4></h4>
|
||||
<a href='{% url assignment_activate_item assignment.id %}'>
|
||||
<span class="button">
|
||||
<span class="icon projector">{%trans 'Beam assignment' %}</span>
|
||||
<span class="icon projector">{%trans 'Beam election' %}</span>
|
||||
</span>
|
||||
</a>
|
||||
|
||||
|
@ -6,12 +6,17 @@
|
||||
{% block title %}{{ block.super}} – {% trans 'Projector' %} {% endblock %}
|
||||
|
||||
{% block submenu %}
|
||||
{% url item_overview as url_itemoverview %}
|
||||
{% url item_new as url_itemnew %}
|
||||
{% url projector_control as url_projectoroverview %}
|
||||
{% url projector_new as url_projectornew %}
|
||||
<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_new %}">{% trans 'New Slide' %}</a></li>
|
||||
<li class="{% if request.path == url_projectornew %}selected{% endif %}">
|
||||
<a href="{% url projector_new %}">{% trans 'New Slide' %}</a></li>
|
||||
<li><a href="{% url projector_show %}"><img src="/static/images/icons/video-projector.png"> {% trans 'Projector view' %}</a></li>
|
||||
{% endif %}
|
||||
</ul>
|
||||
|
@ -22,7 +22,7 @@
|
||||
<ul>
|
||||
{% if user.is_authenticated %}
|
||||
<li>|<a href="{% url user_logout %}">{%trans "Logout" %}</a></li>
|
||||
<li>|<a href="{% url user_settings %}">{%trans "Usersettings" %}</a></li>
|
||||
<li>|<a href="{% url user_settings %}">{%trans "User Settings" %}</a></li>
|
||||
<li>{%trans "Welcome" %}, <strong>{{ user.username }}</strong></li>
|
||||
{% else %}
|
||||
<li><a href="{% url user_login %}">{%trans "Login" %}</a></li>
|
||||
|
Loading…
Reference in New Issue
Block a user