Skip to content

Commit 8b0ba2b

Browse files
committed
fix: move header inside conditional
1 parent 2a89396 commit 8b0ba2b

File tree

1 file changed

+16
-11
lines changed

1 file changed

+16
-11
lines changed

chores/templates/chores.html

Lines changed: 16 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,20 @@
22

33
{% block content %}
44

5-
<p>
6-
Below is the list of chores for the next 3 months.
7-
</p>
8-
<p>
9-
Please sign up for the activities you can help with. If a chore is getting close and nobody has signed up yet, the system will send out reminders.
10-
</p>
11-
<p>
12-
For the engineers - this data is also accessible as a JSON from <code><a href="{% url "chores_api"%}">{% url "chores_api"%}</a></code>.
13-
</p>
14-
155
<div class="row">
166
<div class="col-xl-12 col-lg-12 col-sm-12">
177
<!-- Chores -->
188
<div class="pt-0 pb-1">
199
{% if event_groups %}
10+
<p>
11+
Below is the list of chores for the next 3 months.
12+
</p>
13+
<p>
14+
Please sign up for the activities you can help with. If a chore is getting close and nobody has signed up yet, the system will send out reminders.
15+
</p>
16+
<p>
17+
For the engineers - this data is also accessible as a JSON from <code><a href="{% url "chores_api"%}">{% url "chores_api"%}</a></code>.
18+
</p>
2019
<div class="card mt-2 mb-2">
2120
<ul class="list-group list-group-flush pt-0 pb-0">
2221
{% for group in event_groups %}
@@ -78,7 +77,13 @@
7877
</ul>
7978
</div>
8079
{% else %}
81-
No upcoming tasks for the next 2 weeks, view all upcoming chores <a href="{% url 'chores' %}" class="chores-link">here</a>.
80+
<div class="mt-2">
81+
<p>No upcoming tasks for the next 3 months.</p>
82+
<p>
83+
As a busy space with plenty to do that seems unlikely.<br/>
84+
Something may be broken, let <a href="mailto:[email protected]">[email protected]</a>
85+
</p>
86+
</div>
8287
{% endif %}
8388
</div>
8489
</div>

0 commit comments

Comments
 (0)