disable leave buttons in profile (not implemented)
This commit is contained in:
parent
e471de5b56
commit
4a61d463bd
1 changed files with 4 additions and 0 deletions
|
@ -34,11 +34,13 @@
|
|||
{% for group in request.user.groups.all %}
|
||||
<li class="list-group-item">
|
||||
{{ group }}
|
||||
{% comment %}
|
||||
<div class="pull-right">
|
||||
<a href="javascript:alert('Not yet implemented.');" class="btn btn-xs btn-danger">
|
||||
<span class="glyphicon glyphicon-log-out"></span> leave
|
||||
</a>
|
||||
</div>
|
||||
{% endcomment %}
|
||||
</li>
|
||||
{% endfor %}
|
||||
{% if not request.user.groups.exists %}
|
||||
|
@ -57,11 +59,13 @@
|
|||
{% for team in request.user.teams.all %}
|
||||
<li class="list-group-item">
|
||||
{{ team }}
|
||||
{% comment %}
|
||||
<div class="pull-right">
|
||||
<a href="javascript:alert('Not yet implemented.');" class="btn btn-xs btn-danger">
|
||||
<span class="glyphicon glyphicon-log-out"></span> leave
|
||||
</a>
|
||||
</div>
|
||||
{% endcomment %}
|
||||
</li>
|
||||
{% endfor %}
|
||||
{% if not request.user.teams.exists %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue