From 0f6961df27ea691dfcffa80f00652cd26ada1441 Mon Sep 17 00:00:00 2001 From: meskio Date: Sat, 20 Nov 2021 18:49:09 +0100 Subject: [PATCH] Usability improvements for the collective view --- tmpl/collective.html | 44 ++++++++++++++++++++++---------------------- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/tmpl/collective.html b/tmpl/collective.html index 11ef40f..91185c7 100644 --- a/tmpl/collective.html +++ b/tmpl/collective.html @@ -2,16 +2,30 @@ {{template "header_close.html"}} {{template "navbar.html" .}} +{{$isAdmin := .IsAdmin }} {{with .Data}}
-
Nombre
{{.Name}}
+
Nombre del colectivo
{{.Name}}
Descripcion
{{.Description}}
Cuentas
- {{range .Members}} - {{.}}, - {{end}} +
    + {{$name := .Name}} + {{range .Members}} +
  • +
    + {{if $isAdmin}} + {{.}} + {{else}} + {{.}} + {{end}} + + +
    +
  • + {{end}} +
@@ -27,26 +41,12 @@
- -
- - - -
-
-
-
- -
-
- -
-
- +
+
@@ -57,7 +57,7 @@
- +
@@ -67,7 +67,7 @@
- +