Skip to content

Commit

Permalink
Suppress 'Awaiting Confirmation' message on upcoming reservations if …
Browse files Browse the repository at this point in the history
…confirmation system disabled
  • Loading branch information
krzywon committed Jun 3, 2021
1 parent be1584a commit 8854848
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion NEMO/templates/landing.html
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ <h3>Upcoming reservations</h3>
{% elif device == 'mobile' and r.area %}<a href="{% url 'view_calendar' item_type='area' item_id=r.area.id date=r.start|date:'Y-m-d' %}" style="text-decoration: none">{% endif %}
<div class="alert {% if r.start < now %}alert-danger{% elif not r.confirmed and use_confirmation_system %}alert-danger{% else %}alert-success{% endif %}">
{% if r.title %}<b>{{ r.title }}</b><br>{% endif %}
<b>{% if r.start < now %}You're late for your {{ r.reservation_item }} reservation!{% else %}{{ r.reservation_item }}{% endif %}{% if not r.confirmed %} - Awaiting Confirmation {% endif %}</b><br>
<b>{% if r.start < now %}You're late for your {{ r.reservation_item }} reservation!{% else %}{{ r.reservation_item }}{% endif %}{% if use_confirmation_system and not r.confirmed %} - Awaiting Confirmation {% endif %}</b><br>
Starting on {{ r.start|date:"l, F jS @ g:i A" }}<br>
Ending on {{ r.end|date:"l, F jS @ g:i A" }}
</div>
Expand Down

0 comments on commit 8854848

Please # to comment.