From 11d3152682fbf78d4201e7ca8a85a925f072ff7d Mon Sep 17 00:00:00 2001 From: David Larlet Date: Fri, 30 Aug 2024 11:12:36 -0400 Subject: [PATCH] =?UTF-8?q?chore:=20display=20user=E2=80=99s=20teams=20wit?= =?UTF-8?q?h=20a=20table?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- umap/templates/umap/user_teams.html | 48 ++++++++++++++++++++++++----- 1 file changed, 40 insertions(+), 8 deletions(-) diff --git a/umap/templates/umap/user_teams.html b/umap/templates/umap/user_teams.html index d84296c3..159c2b60 100644 --- a/umap/templates/umap/user_teams.html +++ b/umap/templates/umap/user_teams.html @@ -6,14 +6,46 @@ {% include "umap/dashboard_menu.html" with selected="teams" %}
- - {% trans "New team" %} +
+ + + + + + + + + + {% for team in teams %} + + + + + + {% endfor %} + +
+ {% blocktrans %}Name{% endblocktrans %} + + {% blocktrans %}Users{% endblocktrans %} + + {% blocktrans %}Actions{% endblocktrans %} +
+ {{ team }} + + {% for user in team.users.all %} + {{ user }}{% if not forloop.last %}, {% endif %} + {% endfor %} + + + + {% translate "Edit" %} + +
+
+ {% trans "New team" %}
{% endblock maincontent %}