From 11e24f21bba4d5b2d51aee6c9f72bed6d3cea5e6 Mon Sep 17 00:00:00 2001 From: Tobias Date: Sat, 8 Dec 2018 19:41:21 +1300 Subject: [PATCH] Add join button to invite page, fixes #114 --- pinaxcon/templates/symposion/teams/team_detail.html | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/pinaxcon/templates/symposion/teams/team_detail.html b/pinaxcon/templates/symposion/teams/team_detail.html index 9d2fcd6a..994b7a80 100644 --- a/pinaxcon/templates/symposion/teams/team_detail.html +++ b/pinaxcon/templates/symposion/teams/team_detail.html @@ -5,7 +5,7 @@ {% block head_title %}{{ team.name }}{% endblock %} {% block body_outer %} -
+
{% if can_join %}
{% csrf_token %} @@ -35,7 +35,15 @@ {% if team.description %}

{{ team.description }}

{% endif %} - {% if state == "invited" %}

You have been invited to join this team. Click join to the right to accept.

{% endif %} + {% if state == "invited" %} +

+ You have been invited to join this team. + + {% csrf_token %} + +

+

+ {% endif %} {% if user.is_staff or state == "manager" %} {% if team.managers %}