diff --git a/teams/templates/teams/team-members.html b/teams/templates/teams/team-members.html index c79a2ee..fb1d03f 100644 --- a/teams/templates/teams/team-members.html +++ b/teams/templates/teams/team-members.html @@ -41,28 +41,32 @@
{{ team.owner }}
-
- - -
+ {% if team.owner == request.user %} +
+ + +
+ {% endif %}
diff --git a/templates/profile.html b/templates/profile.html index db4cf58..f04882c 100644 --- a/templates/profile.html +++ b/templates/profile.html @@ -21,13 +21,9 @@
{% endif %}
- {% if user.team.owner == request.user %} - - {{ user.team.member_count }} member{{ user.team.member_count|pluralize }} - - {% else %} + {{ user.team.member_count }} member{{ user.team.member_count|pluralize }} - {% endif %} +