Add buttons to view all events or all teams when none are found nearby on the homepage. Fixes #58
This commit is contained in:
parent
d440e5b173
commit
0a1832d026
1 changed files with 6 additions and 2 deletions
|
@ -50,7 +50,9 @@
|
|||
<div class="col-12 mb-3">
|
||||
<div class="alert alert-info">
|
||||
There are no events near you.
|
||||
<a class="btn btn-success" href="{% url 'create-event-team-select' %}">Create one now</a>
|
||||
<a class="btn btn-success btn-sm" href="{% url 'create-event-team-select' %}">Create one now</a>
|
||||
or
|
||||
<a class="btn btn-primary btn-sm" href="{% url 'all-events' %}">View all events</a>
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
@ -91,7 +93,9 @@
|
|||
<div class="col-12">
|
||||
<div class="alert alert-info">
|
||||
There are no teams near you.
|
||||
<a class="btn btn-success" href="{% url 'create-team' %}">Create one now</a>
|
||||
<a class="btn btn-success btn-sm" href="{% url 'create-team' %}">Create one now</a>
|
||||
or
|
||||
<a class="btn btn-primary btn-sm" href="{% url 'all-teams' %}">View all teams</a>
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
|
Loading…
Reference in a new issue