From 60916282d5b935d9dbeff4a8ab2217319fb08461 Mon Sep 17 00:00:00 2001 From: Michael Hall Date: Thu, 27 Sep 2018 18:06:56 -0400 Subject: [PATCH] Show org invite button if the viewer owns an org, even if they can't edit a team --- get_together/templates/get_together/teams/team_page_base.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/get_together/templates/get_together/teams/team_page_base.html b/get_together/templates/get_together/teams/team_page_base.html index c0f0b0f..20a354d 100644 --- a/get_together/templates/get_together/teams/team_page_base.html +++ b/get_together/templates/get_together/teams/team_page_base.html @@ -7,10 +7,12 @@
- {% if can_edit_team %} + {% if can_edit_team or request.user.profile.owned_orgs.count > 0 %}
+ {% if can_edit_team %} Edit Team Manage Members + {% endif %} {% if request.user.profile.owned_orgs.count > 0 %} Invite to Organization {% endif %}