mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-09-27 13:15:56 +00:00
Fix and simplify some tmpl conditions (#11080)
This commit is contained in:
parent
eeb968eab5
commit
3d6f1731b5
6 changed files with 7 additions and 7 deletions
|
@ -94,7 +94,7 @@
|
|||
<p class="text light grey has-emoji">{{index .GetIssueInfos 1}}</p>
|
||||
{{else if eq .GetOpType 11}}
|
||||
<p class="text light grey has-emoji">{{index .GetIssueInfos 1}}</p>
|
||||
{{else if (or (or (eq .GetOpType 12) (eq .GetOpType 13)) (or (eq .GetOpType 14) (eq .GetOpType 15)))}}
|
||||
{{else if or (eq .GetOpType 12) (eq .GetOpType 13) (eq .GetOpType 14) (eq .GetOpType 15)}}
|
||||
<span class="text truncate issue title has-emoji">{{.GetIssueTitle}}</span>
|
||||
{{end}}
|
||||
<p class="text italic light grey">{{TimeSince .GetCreate $.i18n.Lang}}</p>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue