diff --git a/src/teams/templates/team_detail.html b/src/teams/templates/team_detail.html index 86586f3a..3e8e316a 100644 --- a/src/teams/templates/team_detail.html +++ b/src/teams/templates/team_detail.html @@ -8,14 +8,17 @@ Team: {{ team.name }} | {{ block.super }} {% endblock %} {% block content %} + + + +{# Team communications #}
-

{{ team.name }} Team Details

+
+

Communication Channels

+
- {{ team.description|unsafecommonmark }} - -
- -

{{ team.name }} Team Communications

{{ team.camp.title }} teams primarily use mailing lists and IRC to communicate. The {{ team.name }} team can be contacted in the following ways:

Mailing List
@@ -38,9 +41,51 @@ Team: {{ team.name }} | {{ block.super }}

The {{ team.name }} Team private IRC channel is {{ team.private_irc_channel_name }} on {{ IRCBOT_SERVER_HOSTNAME }}.

{% endif %} -
+
+
-

{{ team.name }} Team Members

+{# Team tasks #} +
+
+

Tasks

+
+
+

The {{ team.name }} Team is responsible for the following tasks

+ + + + + + + + + + {% for task in team.tasks.all %} + + + + + + {% endfor %} + +
NameDescriptionAction
{{ task.name }}{{ task.description }} + Details + {% if request.user in team.responsible_members.all %} + Edit Task + {% endif %} +
+ {% if request.user in team.responsible_members.all %} + Create Task + {% endif %} +
+
+ +{# Team members #} +
+
+

Members

+
+

The following {{ team.approved_members.count }} people {% if team.unapproved_members.count %}(and {{ team.unapproved_members.count }} pending){% endif %} are members of the {{ team.name }} Team:

@@ -86,41 +131,16 @@ Team: {{ team.name }} | {{ block.super }} {% endif %}
+ + -

{{ team.name }} Team Tasks

-

The {{ team.name }} Team is responsible for the following tasks

-
- - - - - - - - - {% for task in team.tasks.all %} - - - - - - {% endfor %} - -
NameDescriptionAction
{{ task.name }}{{ task.description }} - Details - {% if request.user in team.responsible_members.all %} - Edit Task - {% endif %} -
- {% if request.user in team.responsible_members.all %} - Create Task - {% endif %} - - {# Team info categories section - only visible for team responsible #} - {% if request.user in team.responsible_members.all %} -
- -

Info categories

+{# Team info categories section - only visible for team responsible #} +{% if request.user in team.responsible_members.all %} +
+
+

Info Categories

+
+
{% for info_category in team.info_categories.all %} @@ -151,9 +171,9 @@ Team: {{ team.name }} | {{ block.super }} {% endfor %} - - {% endif %}
+{% endif %} + {% endblock %} diff --git a/src/teams/views/info.py b/src/teams/views/info.py index b3dc5a8e..315dd085 100644 --- a/src/teams/views/info.py +++ b/src/teams/views/info.py @@ -44,4 +44,3 @@ class InfoItemUpdateView(LoginRequiredMixin, CampViewMixin, EnsureTeamResponsibl def get_success_url(self): return self.team.get_absolute_url() -