Add late submission indicator
This commit is contained in:
parent
c322bdfcb8
commit
ba514b1973
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@
|
||||||
{{ if .image }}
|
{{ if .image }}
|
||||||
{{ $thumbnail := .image.Resize "500x" }}
|
{{ $thumbnail := .image.Resize "500x" }}
|
||||||
<a href="{{ .image.RelPermalink }}" target="_blank"><img src="{{ $thumbnail.RelPermalink }}" style="aspect-ratio: {{ .image.Width }} / {{ .image.Height }}" title="{{ .submission.username }}'s submission"></a>
|
<a href="{{ .image.RelPermalink }}" target="_blank"><img src="{{ $thumbnail.RelPermalink }}" style="aspect-ratio: {{ .image.Width }} / {{ .image.Height }}" title="{{ .submission.username }}'s submission"></a>
|
||||||
<figcaption><a href="https://discord.com/users/{{ .submission.id }}"><i class="fab fa-discord"></i> {{ .submission.username }}</a></figcaption>
|
<figcaption><a href="https://discord.com/users/{{ .submission.id }}"><i class="fab fa-discord"></i> {{ .submission.username }}</a>{{ if .submission.late }} (Late){{ end }}</figcaption>
|
||||||
{{ else }}
|
{{ else }}
|
||||||
<figcaption>Image not found!</figcaption>
|
<figcaption>Image not found!</figcaption>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
Loading…
Add table
Reference in a new issue