From 11a9ac5eacf6bb3d09567bd3111a7a7740a4af9b Mon Sep 17 00:00:00 2001 From: Thomas Steen Rasmussen Date: Wed, 12 Jul 2017 00:08:51 +0200 Subject: [PATCH] a few design changes to people.html --- src/people/templates/people.html | 71 ++++++++++++++++---------------- 1 file changed, 36 insertions(+), 35 deletions(-) diff --git a/src/people/templates/people.html b/src/people/templates/people.html index 39f26174..cdaeaa46 100644 --- a/src/people/templates/people.html +++ b/src/people/templates/people.html @@ -1,6 +1,7 @@ {% extends 'base.html' %} {% load commonmark %} {% load teams_tags %} +{% load static %} {% block title %} People | {{ block.super }} @@ -12,43 +13,43 @@ People | {{ block.super }}

The following is a list of the volunteers that have helped make BornHack happen. It goes without saying that an event like BornHack would not be possible to pull off without our volunteers. We are forever grateful, and we leave your names here as a recognition of the work you put in. Thank you! {% for camp in camp_list %} {% if camp.teams.exists %} -

{{ camp.title }} Teams

- - - - - - - - - - {% for team in camp.teams.all %} - - - +
+
{{ camp.title }} Teams
+
+ +
NameDescriptionMembers
- {{ team.name }} Team - - {{ team.description|unsafecommonmark }} -
+ + + + + + + + {% for team in camp.teams.all %} + + + + {% endfor %} - {% if team.anoncount and team.anoncount != team.approvedmembers.count %} - plus {{ team.anoncount }} anonymous member(s). - {% endif %} - - - {% endfor %} - -
Team NameTeam Members
+ {{ team.name }} Team + + {% if team.approvedmembers.count == team.anoncount %} + {{ team.anoncount }} anonymous member(s) + {% endif %} - - {% if team.approvedmembers.count == team.anoncount %} - {{ team.anoncount }} anonymous member(s) - {% endif %} - - {% for member in team.approvedmembers.all %} - {% if member.user.profile.approved_public_credit_name %} - {{ member.user.profile.approved_public_credit_name }}{% if member.responsible %} (responsible){% endif %}
- {% endif %} + {% for member in team.approvedmembers.all %} + {% if member.user.profile.approved_public_credit_name %} + {{ member.user.profile.approved_public_credit_name }}{% if member in team.responsible.all %} (responsible){% endif %}
+ {% endif %} + {% endfor %} + {% if team.anoncount and team.anoncount != team.approvedmembers.count %} + plus {{ team.anoncount }} anonymous member(s). + {% endif %} +
+ + + + {% endif %} {% endfor %} {% endblock %}