show message when team doesnt need members!

This commit is contained in:
Thomas Steen Rasmussen 2017-04-08 09:48:54 +02:00
parent 1bb2b8d9a9
commit 54625985df

View file

@ -58,6 +58,8 @@ Teams | {{ block.super }}
{% else %} {% else %}
{% if team.needs_members %} {% if team.needs_members %}
<a href="{% url 'team_join' camp_slug=camp.slug slug=team.slug %}" class="btn btn-success"><i class="fa fa-plus"></i> Join</button> <a href="{% url 'team_join' camp_slug=camp.slug slug=team.slug %}" class="btn btn-success"><i class="fa fa-plus"></i> Join</button>
{% else %}
<i>Team does not need members</i>
{% endif %} {% endif %}
{% endif %} {% endif %}
</td> </td>