team edit
This commit is contained in:
@@ -8,11 +8,20 @@
|
||||
<p>{{ team.notes }}</p>
|
||||
<p><b>Manager:</b> {{ team.manager.first_name }} {{ team.manager.last_name }}</p>
|
||||
{% if ismember %}
|
||||
<div class="grid_2 suffix_10 alpha">
|
||||
<div class="grid_2 alpha">
|
||||
<a class="button red small" href="/rowers/team/{{ team.id }}/leaveconfirm">Leave this team</a>
|
||||
</div>
|
||||
{% if team.manager == user %}
|
||||
<div class="grid_2 suffix_8 omega">
|
||||
<a class="button blue small" href="/rowers/team/{{ team.id }}/edit">Edit Team</a>
|
||||
</div>
|
||||
{% else %}
|
||||
<div class="grid_2 suffix_8 omega">
|
||||
<p>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% elif hasrequested %}
|
||||
<p>You have requested access to this team</p>
|
||||
<p>You have requested access to this team</p>
|
||||
{% else %}
|
||||
<div class="grid_2 suffix_10 alpha tooltip">
|
||||
<a class="button green small" href="/rowers/team/{{ team.id }}/requestmembership/{{ user.id }}">Join</a>
|
||||
|
||||
Reference in New Issue
Block a user