Skip to content

Commit

Permalink
Merge branch 'issue_813_eventList' of github.com:BCStudentSoftwareDev…
Browse files Browse the repository at this point in the history
…Team/celts into issue_813_eventList
  • Loading branch information
Mercy-Eze committed Jul 18, 2023
2 parents c394590 + d0c48fe commit c40e6f9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions app/templates/events/event_list.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ <h1 class="text-center">Events List for {{selectedTerm.description}}</h1>
</div>
</div>
</div>
{% if user.isAdmin %}
{% if selectedTerm == g.current_term and user.isAdmin %}
<div class="row px-4">
<div class = "d-none d-sm-block col "></div>
<div class="form-check form-switch mb-2 col-auto">
Expand Down Expand Up @@ -77,8 +77,8 @@ <h1 class="text-center">Events List for {{selectedTerm.description}}</h1>
</tr>
</thead>
<tbody>
{% if events[-1].isPast %}
<tr> There are no upcoming events for this term </tr>
{% if selectedTerm == g.current_term and events[-1].isPast %}
<tr> There are no upcoming events for this program </tr>
{% endif %}
{% for event in events %}
<tr>
Expand Down Expand Up @@ -161,7 +161,7 @@ <h1 class="text-center">Events List for {{selectedTerm.description}}</h1>
</table>
</div>
{% else %}
<p>No upcoming events for this term</p>
<p>There are no events for this program</p>
{% endif %}
{% endmacro %}

Expand Down

0 comments on commit c40e6f9

Please sign in to comment.