diff --git a/src/teams/templates/team_detail.html b/src/teams/templates/team_detail.html index c1c0b776..c71994cb 100644 --- a/src/teams/templates/team_detail.html +++ b/src/teams/templates/team_detail.html @@ -1,5 +1,6 @@ {% extends 'base.html' %} {% load commonmark %} +{% load teams_tags %} {% block title %} Team: {{ team.name }} | {{ block.super }} @@ -12,6 +13,10 @@ Team: {{ team.name }} | {{ block.super }} {{ team.description|unsafecommonmark }}
Currently {{ team.members.count }} people are members of this team{% if request.user in team.members.all %} (including you){% endif %}.
+{% if request.user in team.members.all %} +Your team status: {% membershipstatus request.user team %}
+{% endif %} + {% if request.user in team.members.all %} Leave Team {% else %} diff --git a/src/teams/templates/team_list.html b/src/teams/templates/team_list.html index 6e6080e3..b9ee90c7 100644 --- a/src/teams/templates/team_list.html +++ b/src/teams/templates/team_list.html @@ -1,5 +1,6 @@ {% extends 'base.html' %} {% load commonmark %} +{% load teams_tags %} {% block title %} Teams | {{ block.super }} @@ -21,6 +22,7 @@ Teams | {{ block.super }}