2019-02-23 21:24:59 +00:00
|
|
|
{{/*###
|
|
|
|
NoCompile=true
|
|
|
|
*/}}
|
|
|
|
{{ define "clanMembers" }}
|
2019-02-23 21:27:22 +00:00
|
|
|
{ with . }}
|
|
|
|
<div class="ui three column center aligned stackable grid">
|
|
|
|
{{ $teamJSON := teamJSON }}
|
|
|
|
{{ range .members }}
|
|
|
|
{{/* ignore fokabot */}}
|
|
|
|
{{ if ne (int .id) 999 }}
|
|
|
|
{{ $tj := index $teamJSON (print .id)}}
|
|
|
|
<div class="column">
|
|
|
|
<div class="ui left aligned fluid card">
|
|
|
|
<div class="image">
|
|
|
|
<img src="{{ config "AvatarURL" }}/{{ .id }}" alt="Avatar">
|
|
|
|
</div>
|
|
|
|
<div class="content">
|
|
|
|
<a class="header" href="/u/{{ .id }}">{{ country .country false }}{{ .username }}</a>
|
|
|
|
{{ with $tj.real_name }}
|
|
|
|
<div class="meta">
|
|
|
|
<a>{{ . }}</a>
|
|
|
|
</div>
|
2019-02-23 21:24:59 +00:00
|
|
|
{{ end }}
|
2019-02-23 21:27:22 +00:00
|
|
|
</div>
|
|
|
|
<div class="extra content">
|
|
|
|
<div title="Registered">
|
|
|
|
<i class="sign in icon"></i>
|
|
|
|
{{ time .registered_on }}
|
|
|
|
</div>
|
|
|
|
<div title="Latest activity">
|
|
|
|
<i class="sign out icon"></i>
|
|
|
|
{{ time .latest_activity }}
|
|
|
|
</div>
|
|
|
|
</div>
|
2019-02-23 21:24:59 +00:00
|
|
|
</div>
|
2019-02-23 21:27:22 +00:00
|
|
|
</div>
|
2019-02-23 21:24:59 +00:00
|
|
|
{{ end }}
|
2019-02-23 21:27:22 +00:00
|
|
|
{{ end }}
|
|
|
|
</div>
|
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|