diff options
author | 2018-06-22 23:32:31 -0400 | |
---|---|---|
committer | 2018-06-22 23:32:31 -0400 | |
commit | 3e7925dd033eae1954fee7f56d95b46cd738b3c3 (patch) | |
tree | 6021cdbd9c22b37669aa15c05443df81228949e1 /templates | |
parent | Rebuild JS (diff) |
Add button to jam index in team list
Diffstat (limited to 'templates')
-rw-r--r-- | templates/main/jams/team_list.html | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/templates/main/jams/team_list.html b/templates/main/jams/team_list.html index 51162416..d66484f7 100644 --- a/templates/main/jams/team_list.html +++ b/templates/main/jams/team_list.html @@ -14,8 +14,14 @@ Code Jam {{ jam.number }}: Teams {% endif %} </h1> + {% if not user_teams %} + <p> + <a id="back" class="uk-button uk-button-default" href="{{ url_for("main.jams.index") }}"> + <i class="uk-icon fa-fw far fa-arrow-left"></i> All Jams + </a> + </p> + {% endif %} {% if teams %} - <div class="uk-flex uk-flex-row uk-flex-wrap team-list-cards"> {% for team in teams %} <div class="uk-card uk-card-default uk-margin-small-bottom uk-margin-small-right uk-margin-small-top uk-margin-small-left |