making planning accessible for team manager of pro users
This commit is contained in:
@@ -40,7 +40,7 @@
|
||||
</li>
|
||||
<li id="sessions-coach">
|
||||
<a href="/rowers/sessions/coach/?when={{ timeperiod }}">
|
||||
<i class="fas fa-bullhorn fa-fw"></i> Coach View
|
||||
<i class="fas fa-bullhorn fa-fw"></i> Training Group View
|
||||
</a>
|
||||
</li>
|
||||
<li id="sessions-print">
|
||||
@@ -82,7 +82,7 @@
|
||||
|
||||
<p> </p>
|
||||
|
||||
{% if user.is_authenticated and user|is_manager %}
|
||||
{% if user.is_authenticated and user|is_planmember %}
|
||||
<p> </p>
|
||||
{% if user|team_members %}
|
||||
<ul class="cd-accordion-menu animated">
|
||||
@@ -94,7 +94,7 @@
|
||||
<li>
|
||||
<a href={{ request.path|userurl:member }}>
|
||||
<i class="fas fa-user fa-fw"></i>
|
||||
{% if member == rower.user and not team %}
|
||||
{% if member == rower.user%}
|
||||
•
|
||||
{% else %}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user