Skip to content

Commit

Permalink
Merge pull request #404 from rropen/team-availability
Browse files Browse the repository at this point in the history
Team availability
  • Loading branch information
Jayden876212 authored Oct 30, 2024
2 parents 1b00e3a + 3c6a903 commit a6366fd
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion ap_src/templates/api_pages/teams.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{% load static %}
<script src="{%static 'js/button_spinner.js' %}"></script>
<div class="container">
<h1 class="title">Teams</h1>
<h3 class="has-text-weight-bold is-size-5 my-3">Teams</h3>
{% if team_data %}
{% for team in team_data %}
<div class="container has-background-light box">
<div class="is-size-5 mb-3">
Expand All @@ -15,5 +16,15 @@ <h1 class="title">Teams</h1>
</div>
</div>
{% endfor %}
{% else %}
<div class="container has-background-light box">
<div class="is-size-5 mb-3">
<span class="is-block is-size-5">There are no teams currently available.</span>
</div>
</div>
{% endif %}
<a id="teams/" class="column button is-medium is-info icon-text" href="{% url 'dashboard' %}">
<i class="fas fa-users fa-w-20"></i> Go back to joined teams</i>
</a>
</div>
<script src="{% static "js/teams.js" %}" apiURL="{{ url }}"></script>

0 comments on commit a6366fd

Please sign in to comment.