From 282c3d39cb79a1a7843dc10181f756d58c95f4a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C4=93teris=20Caune?= Date: Tue, 29 Jan 2019 19:27:14 +0200 Subject: [PATCH] Template tweaks. --- templates/accounts/profile.html | 20 ++++++++------------ templates/front/my_checks.html | 2 +- 2 files changed, 9 insertions(+), 13 deletions(-) diff --git a/templates/accounts/profile.html b/templates/accounts/profile.html index db00a822..0c4f48c9 100644 --- a/templates/accounts/profile.html +++ b/templates/accounts/profile.html @@ -69,27 +69,23 @@ - - + {% for project in profile.projects %} -
ProjectChecksMy RoleMy role
-
{{ project }}
-
- - {% with project.check_set.count as n %} - {{ n }} check{{ n|pluralize }} - {% endwith %} - + {% if project.owner == request.user %} Owner {% else %} - Member + Collaborator {% endif %} @@ -181,7 +177,7 @@