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"> <div class="table element">
<h1 class="ui header"> <h1 class="ui header">
{{ $user := . }} {{ $user := . }}
{{ if $user.clan}}
<td class="right aligned"><a href="/c/{{ $user.clan.id }}?mode=0">{{ $user.clan.tag }} </a></td>
{{ end }}
{{ if $super }} {{ if $super }}
<div class="owner"> <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 }} {{ .username }}
</div> </div>
{{else if $donor}} {{else if $donor}}
<div class="dev"> <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 }} {{ .username }}
</div> </div>
{{ else }} {{ else }}
{{ if $user.clan}}
<td class="right aligned"><a href="/c/{{ $user.clan.id }}?mode=0">[{{ $user.clan.tag }} ]</a></td>
{{ end }}
{{ .username }} {{ .username }}
{{ end }} {{ end }}
</h1> </h1>

View File

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

View File

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