Hide group registered in the group widget.

Make custom slides text scrollable.

Fix template of personal_info_widget.
This commit is contained in:
Norman Jäckel 2012-11-28 19:08:23 +01:00
parent f6e2ea63a5
commit 046db10d3a
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 %}