show team state and optional description on team detail page
This commit is contained in:
parent
9a23c142e8
commit
58121ebfe6
1 changed files with 4 additions and 2 deletions
|
@ -3,7 +3,9 @@
|
|||
{% block head_title %}{{ team.name }}{% endblock %}
|
||||
|
||||
{% block body %}
|
||||
<h1>{{ team.name }}</h1>
|
||||
<h1>{{ team.name }}{% if state %} <span class="label">{{ state }}</span>{% endif %}</h1>
|
||||
|
||||
{% if team.description %}<p>{{ team.description }}</p>{% endif %}
|
||||
|
||||
{% if can_join %}
|
||||
<form method="post" action="{% url team_join team.slug %}">
|
||||
|
@ -20,7 +22,7 @@
|
|||
{% endif %}
|
||||
|
||||
{% if can_apply %}
|
||||
<form method="post" action="{% url team_apply team.slug %}">
|
||||
<form method="post" action="{% url team_apply team.slug %}">
|
||||
{% csrf_token %}
|
||||
<input type="submit" class="btn btn-primary" value="apply">
|
||||
</form>
|
||||
|
|
Loading…
Reference in a new issue