Merge pull request #68 from normanjaeckel/Fixes

Some small fixes
This commit is contained in:
Oskar Hahn 2012-12-01 10:41:54 -08:00
commit 932f023da6
3 changed files with 8 additions and 3 deletions

View File

@ -3,7 +3,7 @@
<ul style="line-height: 180%"> <ul style="line-height: 180%">
{% for group in groups %} {% for group in groups %}
{% if group.name != 'Anonymous' %} {% if group.name != 'Anonymous' and group.name != 'Registered' %}
<li class="{% if group.active %}activeline{% endif %}"> <li class="{% if group.active %}activeline{% endif %}">
<a href="{% url projector_activate_slide group.sid %}" class="activate_link {% if group.active %}active{% endif %}"> <a href="{% url projector_activate_slide group.sid %}" class="activate_link {% if group.active %}active{% endif %}">
<div></div> <div></div>

View File

@ -20,7 +20,7 @@
{% if config_motion_min_supporters %} {% if config_motion_min_supporters %}
<hr /> <hr />
<ul> <ul style="line-height: 180%">
{% trans "I support the following motions:" %} {% trans "I support the following motions:" %}
{% for motion in supported_motions %} {% for motion in supported_motions %}
<li> <li>

View File

@ -7,8 +7,13 @@
{% block content %} {% block content %}
{% if slide.text %} {% if slide.text %}
<h1>{{ slide.title }}</h1> <h1>{{ slide.title }}</h1>
{{ slide.text|safe|linebreaks }}
{% else %} {% else %}
<div class="item_fullscreen">{{ slide.title }}</div> <div class="item_fullscreen">{{ slide.title }}</div>
{% endif %} {% endif %}
{% endblock %} {% endblock %}
{% block scrollcontent %}
{% if slide.text %}
<span>{{ slide.text|safe|linebreaks }}</span>
{% endif %}
{% endblock %}