Cleanup invite team to org button and form
This commit is contained in:
parent
bd8979b461
commit
6179f5240d
2 changed files with 10 additions and 1 deletions
|
@ -12,3 +12,12 @@
|
|||
{% endblock %}
|
||||
|
||||
|
||||
{% block javascript %}
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function(){
|
||||
|
||||
$("#id_organization").selectmenu();
|
||||
});
|
||||
|
||||
</script>
|
||||
{% endblock %}
|
|
@ -26,7 +26,7 @@
|
|||
<a href="{% url 'edit-team' team.id %}" class="btn btn-secondary btn-sm"><i class="fa fa-pencil"></i> Edit Team</a>
|
||||
<a href="{% url 'manage-members' team.id %}" class="btn btn-secondary btn-sm"><i class="fa fa-users"></i> Manage Members</a>
|
||||
{% if request.user.profile.owned_orgs.count > 0 %}
|
||||
<a href="{% url 'invite-to-join-org' team.id %}" class="btn btn-secondary btn-sm"><i class="fa fa-globe"></i> Add to Organization</a>
|
||||
<a href="{% url 'invite-to-join-org' team.id %}" class="btn btn-secondary btn-sm"><i class="fa fa-globe"></i> Invite to Organization</a>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endif %}
|
||||
|
|
Loading…
Reference in a new issue