Skip to content

Commit

Permalink
Link to event details from check-in notice (#595)
Browse files Browse the repository at this point in the history
  • Loading branch information
jb3 authored Oct 26, 2024
1 parent be7b595 commit e5c7e24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ <h2 class="col-sm-12 pb-3">Welcome back {{ user.get_full_name }}, there {%if rig
<div class="col-sm-12">
{% for event in now %}
<div class="alert alert-primary rounded-0">
Event {{ event }} is happening today! <a href="{% url 'event_checkin' event.pk %}" class="btn btn-success btn-sm modal-href align-baseline {% if request.user.current_event %}disabled{%endif%}"><span class="fas fa-user-clock"></span> <span class="d-none d-sm-inline">Check In</span></a><br/>
Event <a href="{% url 'event_detail' event.pk %}" class="text-danger">{{ event }}</a> is happening today! <a href="{% url 'event_checkin' event.pk %}" class="btn btn-success btn-sm modal-href align-baseline {% if request.user.current_event %}disabled{%endif%}"><span class="fas fa-user-clock"></span> <span class="d-none d-sm-inline">Check In</span></a><br/>
</div>
{% endfor %}
</div>
Expand Down

0 comments on commit e5c7e24

Please sign in to comment.