Private
Public Access
1
0

added requests, revoke and reject buttons

This commit is contained in:
Sander Roosendaal
2017-02-10 12:48:22 +01:00
parent fffdb89a53
commit fa86c0c9d5
8 changed files with 303 additions and 41 deletions

View File

@@ -11,6 +11,8 @@
<div class="grid_2 suffix_10 alpha">
<a class="button red small" href="/rowers/team/{{ team.id }}/leaveconfirm">Leave this team</a>
</div>
{% elif hasrequested %}
<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>
@@ -41,7 +43,7 @@
</div>
<div class="grid_6 omega">
{% if team.manager == user %}
<p>Use the form to add a new user. You can either select a user from the slist, or you can type his email address, which also works for users who have not registered to the site yet.</p>
<p>Use the form to add a new user. You can either select a user from the list of your existing club members who are not on this team yet, or you can type the user's email address, which also works for users who have not registered to the site yet.</p>
{% if inviteform.errors %}
<p style="color: red;">
Please correct the error{{ inviteform.errors|pluralize }} below.