forgejo/templates/shared/searchbottom.tmpl

13 lines
490 B
Handlebars
Raw Normal View History

<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">{{.root.locale.Tr "explore.code_last_indexed_at" (TimeSinceUnix .result.UpdatedUnix .root.locale) | Safe}}</span>
{{end}}
</div>
</div>