diff options
author | guillep2k <18600385+guillep2k@users.noreply.github.com> | 2020-04-16 18:26:24 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-16 16:26:24 -0500 |
commit | 3d6f1731b5fd1378ffc7999ef26154c510eb6eba (patch) | |
tree | 6373393f52add47f97e91eb5945e890d9538ccdf /templates/user | |
parent | eeb968eab591d21eacf45e3743575f614ba5ba66 (diff) | |
download | gitea-3d6f1731b5fd1378ffc7999ef26154c510eb6eba.tar.gz gitea-3d6f1731b5fd1378ffc7999ef26154c510eb6eba.zip |
Fix and simplify some tmpl conditions (#11080)
Diffstat (limited to 'templates/user')
-rw-r--r-- | templates/user/dashboard/feeds.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/user/dashboard/feeds.tmpl b/templates/user/dashboard/feeds.tmpl index fe92cad559..b97eda3ca5 100644 --- a/templates/user/dashboard/feeds.tmpl +++ b/templates/user/dashboard/feeds.tmpl @@ -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> |