From 57f96902081689f61f2d946048fd328a93c69c57 Mon Sep 17 00:00:00 2001 From: Alicia Date: Sun, 24 Feb 2019 14:47:19 +0000 Subject: [PATCH] a --- templates/profile.html | 16 ++++++++++++---- templates/profile_auto.html | 30 ++++++++++++++++++++---------- templates/profile_relax.html | 30 ++++++++++++++++++++---------- 3 files changed, 52 insertions(+), 24 deletions(-) diff --git a/templates/profile.html b/templates/profile.html index b21ffbb..cff385c 100644 --- a/templates/profile.html +++ b/templates/profile.html @@ -63,18 +63,26 @@

{{ $user := . }} - {{ if $user.clan}} - {{ $user.clan.tag }} - {{ end }} + {{ if $super }}
- {{ .username }} + {{ if $user.clan}} + [{{ $user.clan.tag }}] + {{ end }} + + {{ .username }}
{{else if $donor}}
+ {{ if $user.clan}} + [{{ $user.clan.tag }}] + {{ end }} {{ .username }}
{{ else }} + {{ if $user.clan}} + [{{ $user.clan.tag }} ] + {{ end }} {{ .username }} {{ end }}

diff --git a/templates/profile_auto.html b/templates/profile_auto.html index 8f0dc69..86f2a45 100644 --- a/templates/profile_auto.html +++ b/templates/profile_auto.html @@ -62,17 +62,27 @@

- {{ if $super }} -
+ {{ if $super }} +
+ {{ if $user.clan}} + [{{ $user.clan.tag }}] + {{ end }} + {{ .username }} -
- {{else if $donor}} -
- {{ .username }} -
- {{ else }} - {{ .username }} - {{ end }} +
+ {{else if $donor}} +
+ {{ if $user.clan}} + [{{ $user.clan.tag }}] + {{ end }} + {{ .username }} +
+ {{ else }} + {{ if $user.clan}} + [{{ $user.clan.tag }} ] + {{ end }} + {{ .username }} + {{ end }}

{{ if .username_aka }}
diff --git a/templates/profile_relax.html b/templates/profile_relax.html index 7403a6e..f68df2f 100644 --- a/templates/profile_relax.html +++ b/templates/profile_relax.html @@ -62,17 +62,27 @@

- {{ if $super }} -
+ {{ if $super }} +
+ {{ if $user.clan}} + [{{ $user.clan.tag }}] + {{ end }} + {{ .username }} -
- {{else if $donor}} -
- {{ .username }} -
- {{ else }} - {{ .username }} - {{ end }} +
+ {{else if $donor}} +
+ {{ if $user.clan}} + [{{ $user.clan.tag }}] + {{ end }} + {{ .username }} +
+ {{ else }} + {{ if $user.clan}} + [{{ $user.clan.tag }} ] + {{ end }} + {{ .username }} + {{ end }}

{{ if .username_aka }}