2
0
Fork 0

Merge branch 'live'

This commit is contained in:
Florian Sorg 2023-05-07 01:18:02 +02:00
commit 4c47546415
3 changed files with 26 additions and 11 deletions

View File

@ -20,14 +20,18 @@
<strong>Dauer:</strong> {{ shift.duration }}<br>
<strong>Treffpunkt:</strong> {{ shift.room.meeting_location|linebreaksbr }}
</p>
{% if shift.room.description %}
<strong>Beschreibung:</strong>
<p>{{ shift.room.description|linebreaksbr }}</p>
{% endif %}
{% if shift.description %}
<strong>Zusatzinfo:</strong>
<p>{{ shift.description|linebreaksbr }}</p>
{% endif %}
{% if shift.room.description %}
<div class="description">
<strong>Beschreibung:</strong>
<p>{{ shift.room.description|linebreaksbr|safe }}</p>
</div>
{% endif %}
{% if shift.description %}
<div class="description">
<strong>Zusatzinfo:</strong>
<p>{{ shift.description|linebreaksbr }}</p>
</div>
{% endif %}
</div>
{% if can_register and not shift.deleted %}
<form action="" method="post">

View File

@ -27,6 +27,10 @@
--background: #fff;
}
.description {
margin-bottom: 1em;
}
.sticky-nav {
background-color: var(--background);
margin: 0 -0.75rem;

View File

@ -4,10 +4,17 @@
{% block content %}
<h3 class="title is-spaced">{% if shift.deleted %}(gelöscht) {% endif %}{{ shift.room.name }} {{ shift.start_at }} ({{ shift.registration_count }}/{{ shift.required_helpers|default:shift.room.required_helpers }})</h3>
{% if shift.room.description %}
<div class="description">
<strong>Beschreibung:</strong>
<p>{{ shift.room.description|safe|linebreaksbr }}</p>
</div>
{% endif %}
{% if shift.description %}
<div class="content">
<em>{{ shift.description|linebreaksbr }}</em>
</div>
<div class="description">
<strong>Zusatzinfo:</strong>
<p>{{ shift.description|linebreaksbr }}</p>
</div>
{% endif %}
{% if shift.shiftregistration_set.all %}
<h5 class="subtitle">Helfer*innen</h5>