mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-22 14:14:49 +03:00
597b04fe2f
Backport #27231 #27259 manually --------- Co-authored-by: delvh <dev.lh@web.de>
12 lines
486 B
Go HTML Template
12 lines
486 B
Go HTML Template
<div class="ui bottom attached table segment gt-df gt-ac gt-sb">
|
|
<div class="gt-df gt-ac gt-ml-4">
|
|
{{if .result.Language}}
|
|
<i class="color-icon gt-mr-3" style="background-color: {{.result.Color}}"></i>{{.result.Language}}
|
|
{{end}}
|
|
</div>
|
|
<div class="gt-mr-4">
|
|
{{if not .result.UpdatedUnix.IsZero}}
|
|
<span class="ui grey text">{{ctx.Locale.Tr "explore.code_last_indexed_at" (TimeSinceUnix .result.UpdatedUnix ctx.Locale) | Safe}}</span>
|
|
{{end}}
|
|
</div>
|
|
</div>
|