|
@ -100,59 +100,56 @@ |
|
|
<div class="panel panel-default"> |
|
|
<div class="panel panel-default"> |
|
|
<div class="panel-body settings-block"> |
|
|
<div class="panel-body settings-block"> |
|
|
<h2>Team Access</h2> |
|
|
<h2>Team Access</h2> |
|
|
{% if profile.team_access_allowed %} |
|
|
|
|
|
{% if profile.member_set.count %} |
|
|
|
|
|
<table class="table"> |
|
|
|
|
|
<tr> |
|
|
|
|
|
<td>{{ profile.user.email }}</td> |
|
|
|
|
|
<td>Owner</td> |
|
|
|
|
|
<td></td> |
|
|
|
|
|
</tr> |
|
|
|
|
|
{% for member in profile.member_set.all %} |
|
|
|
|
|
<tr> |
|
|
|
|
|
<td>{{ member.user.email }} </td> |
|
|
|
|
|
<td>Member</td> |
|
|
|
|
|
<td> |
|
|
|
|
|
<a |
|
|
|
|
|
href="#" |
|
|
|
|
|
data-email="{{ member.user.email }}" |
|
|
|
|
|
class="pull-right member-remove">Remove</a> |
|
|
|
|
|
</td> |
|
|
|
|
|
</tr> |
|
|
|
|
|
{% endfor %} |
|
|
|
|
|
</table> |
|
|
|
|
|
{% else %} |
|
|
|
|
|
<p> |
|
|
|
|
|
<strong>Invite team members to your account.</strong> |
|
|
|
|
|
</p> |
|
|
|
|
|
|
|
|
{% if profile.member_set.count %} |
|
|
|
|
|
<table class="table"> |
|
|
|
|
|
<tr> |
|
|
|
|
|
<td>{{ profile.user.email }}</td> |
|
|
|
|
|
<td>Owner</td> |
|
|
|
|
|
<td></td> |
|
|
|
|
|
</tr> |
|
|
|
|
|
{% for member in profile.member_set.all %} |
|
|
|
|
|
<tr> |
|
|
|
|
|
<td>{{ member.user.email }} </td> |
|
|
|
|
|
<td>Member</td> |
|
|
|
|
|
<td> |
|
|
|
|
|
<a |
|
|
|
|
|
href="#" |
|
|
|
|
|
data-email="{{ member.user.email }}" |
|
|
|
|
|
class="pull-right member-remove">Remove</a> |
|
|
|
|
|
</td> |
|
|
|
|
|
</tr> |
|
|
|
|
|
{% endfor %} |
|
|
|
|
|
</table> |
|
|
|
|
|
{% else %} |
|
|
|
|
|
<p> |
|
|
|
|
|
<strong>Invite team members to your account.</strong> |
|
|
|
|
|
</p> |
|
|
|
|
|
<p> |
|
|
|
|
|
Share access to your checks and configured integrations |
|
|
|
|
|
without having to share a login. |
|
|
|
|
|
</p> |
|
|
|
|
|
{% if not profile.team_access_allowed %} |
|
|
<p> |
|
|
<p> |
|
|
Share access to your checks and configured integrations |
|
|
|
|
|
without having to share a login. |
|
|
|
|
|
|
|
|
To enable team access, please upgrade to |
|
|
|
|
|
one of the <a href="{% url 'hc-pricing' %}">paid plans</a>. |
|
|
</p> |
|
|
</p> |
|
|
{% endif %} |
|
|
{% endif %} |
|
|
|
|
|
{% endif %} |
|
|
|
|
|
|
|
|
<br /> |
|
|
|
|
|
|
|
|
<br /> |
|
|
|
|
|
|
|
|
<a |
|
|
|
|
|
href="#" |
|
|
|
|
|
class="btn btn-default" |
|
|
|
|
|
data-toggle="modal" |
|
|
|
|
|
data-target="#set-team-name-modal">Set Team Name</a> |
|
|
|
|
|
|
|
|
{% if profile.team_access_allowed %} |
|
|
|
|
|
<a |
|
|
|
|
|
href="#" |
|
|
|
|
|
class="btn btn-default" |
|
|
|
|
|
data-toggle="modal" |
|
|
|
|
|
data-target="#set-team-name-modal">Set Team Name</a> |
|
|
|
|
|
|
|
|
<a |
|
|
|
|
|
href="#" |
|
|
|
|
|
class="btn btn-primary pull-right" |
|
|
|
|
|
data-toggle="modal" |
|
|
|
|
|
data-target="#invite-team-member-modal">Invite a Team Member</a> |
|
|
|
|
|
{% else %} |
|
|
|
|
|
<p> |
|
|
|
|
|
<strong>Invite team members to your account.</strong> |
|
|
|
|
|
Share access to your checks and configured integrations |
|
|
|
|
|
without having to share a login.</p> |
|
|
|
|
|
<p> |
|
|
|
|
|
To enable team access, please upgrade to |
|
|
|
|
|
one of the <a href="{% url 'hc-pricing' %}">paid plans</a>. |
|
|
|
|
|
</p> |
|
|
|
|
|
|
|
|
<a |
|
|
|
|
|
href="#" |
|
|
|
|
|
class="btn btn-primary pull-right" |
|
|
|
|
|
data-toggle="modal" |
|
|
|
|
|
data-target="#invite-team-member-modal">Invite a Team Member</a> |
|
|
{% endif %} |
|
|
{% endif %} |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|