Fix list of teams
This commit is contained in:
parent
750902c5c3
commit
1e20731e32
1 changed files with 22 additions and 21 deletions
|
@ -299,31 +299,32 @@
|
|||
{% endif %}
|
||||
</div>
|
||||
<div class="container">
|
||||
{% if available_teams %}
|
||||
<div class="page-header">
|
||||
<h3>Available Teams</h3>
|
||||
</div>
|
||||
<div clas="page-row">
|
||||
{% for team in available_teams %}
|
||||
<div class="col-xs-12 col-sm-6 col-lg-6">
|
||||
<div class="panel panel-primary">
|
||||
<div class="panel-heading">
|
||||
<h5>{{ team }}</h5>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
{% if team.description %}<p>{{ team.description }}</p>{% endif %}
|
||||
<span class="label label-default">{{ team.get_access_display }}</span>
|
||||
<a class="btn btn-lg btn-primary" role="button" href="{% url "team_detail" team.slug %}">Details</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="page-row">
|
||||
{% if available_teams %}
|
||||
<div class="page-header">
|
||||
<h3>Available Teams</h3>
|
||||
</div>
|
||||
{% endfor %}
|
||||
<div class="page-row">
|
||||
{% for team in available_teams %}
|
||||
<div class="col-xs-12 col-sm-6 col-lg-6">
|
||||
<div class="panel panel-primary">
|
||||
<div class="panel-heading">
|
||||
<h5>{{ team }}</h5>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
{% if team.description %}<p>{{ team.description }}</p>{% endif %}
|
||||
<span class="label label-default">{{ team.get_access_display }}</span>
|
||||
<a class="btn btn-lg btn-primary" role="button" href="{% url "team_detail" team.slug %}">Details</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
{% endblock %} <!-- block content -->
|
||||
|
||||
|
|
Loading…
Reference in a new issue