more work on team templates

This commit is contained in:
Thomas Steen Rasmussen 2017-04-08 10:09:06 +02:00
parent a16c6c4ba3
commit 5a4da9bdff
2 changed files with 5 additions and 1 deletions

View file

@ -22,7 +22,7 @@ Team: {{ team.name }} | {{ block.super }}
<hr />
<h3>{{ team.area.name }} Area:</h3>
<p>This team is under the <b>{{ team.area.name }} area</b>. The following people are responsible for the <b>{{ team.area.name }} area</b>:</p>
<p>This team is under the <b>{{ team.area.name }} area</b>. The following people are responsible for the <b>{{ team.name }} team</b>:</p>
<ul>
{% for resp in team.responsible.all %}
<li><b>{{ resp.get_full_name|default:"Unnamed" }}</b></li>

View file

@ -7,6 +7,10 @@ Teams | {{ block.super }}
{% block content %}
<h3>{{ camp.title }} Teams</h3>
<p>This is a list of the teams for {{ camp.title }}. To join a team just press the Join button. You can also leave a team if you are already a member (please let the team responsible know why!).</p>
<p>Team memberships need to be approved by a team responsible. You will receive a message when your membership has been approved.</p>
<p>We currently have {{ teams.count }} teams for {{ camp.title }}:</p>
{% if teams %}
<table class="table table-hover">
<thead>