This commit is contained in:
Alicia 2019-02-24 14:47:19 +00:00
parent 6370e06879
commit 57f9690208
3 changed files with 52 additions and 24 deletions

View File

@ -63,18 +63,26 @@
<div class="table element">
<h1 class="ui header">
{{ $user := . }}
{{ if $user.clan}}
<td class="right aligned"><a href="/c/{{ $user.clan.id }}?mode=0">{{ $user.clan.tag }} </a></td>
{{ end }}
{{ if $super }}
<div class="owner">
{{ if $user.clan}}
<td class="right aligned"><a href="/c/{{ $user.clan.id }}?mode=0">[{{ $user.clan.tag }}]</a></td>
{{ end }}
{{ .username }}
</div>
{{else if $donor}}
<div class="dev">
{{ if $user.clan}}
<td class="right aligned"><a href="/c/{{ $user.clan.id }}?mode=0">[{{ $user.clan.tag }}]</a></td>
{{ end }}
{{ .username }}
</div>
{{ else }}
{{ if $user.clan}}
<td class="right aligned"><a href="/c/{{ $user.clan.id }}?mode=0">[{{ $user.clan.tag }} ]</a></td>
{{ end }}
{{ .username }}
{{ end }}
</h1>

View File

@ -64,13 +64,23 @@
<h1 class="ui header">
{{ if $super }}
<div class="owner">
{{ if $user.clan}}
<td class="right aligned"><a href="/c/{{ $user.clan.id }}?mode=0">[{{ $user.clan.tag }}]</a></td>
{{ end }}
{{ .username }}
</div>
{{else if $donor}}
<div class="dev">
{{ if $user.clan}}
<td class="right aligned"><a href="/c/{{ $user.clan.id }}?mode=0">[{{ $user.clan.tag }}]</a></td>
{{ end }}
{{ .username }}
</div>
{{ else }}
{{ if $user.clan}}
<td class="right aligned"><a href="/c/{{ $user.clan.id }}?mode=0">[{{ $user.clan.tag }} ]</a></td>
{{ end }}
{{ .username }}
{{ end }}
</h1>

View File

@ -64,13 +64,23 @@
<h1 class="ui header">
{{ if $super }}
<div class="owner">
{{ if $user.clan}}
<td class="right aligned"><a href="/c/{{ $user.clan.id }}?mode=0">[{{ $user.clan.tag }}]</a></td>
{{ end }}
{{ .username }}
</div>
{{else if $donor}}
<div class="dev">
{{ if $user.clan}}
<td class="right aligned"><a href="/c/{{ $user.clan.id }}?mode=0">[{{ $user.clan.tag }}]</a></td>
{{ end }}
{{ .username }}
</div>
{{ else }}
{{ if $user.clan}}
<td class="right aligned"><a href="/c/{{ $user.clan.id }}?mode=0">[{{ $user.clan.tag }} ]</a></td>
{{ end }}
{{ .username }}
{{ end }}
</h1>