aboutsummaryrefslogtreecommitdiffstats
path: root/templates/repo/issue
diff options
context:
space:
mode:
authorguillep2k <18600385+guillep2k@users.noreply.github.com>2020-04-16 18:26:24 -0300
committerGitHub <noreply@github.com>2020-04-16 16:26:24 -0500
commit3d6f1731b5fd1378ffc7999ef26154c510eb6eba (patch)
tree6373393f52add47f97e91eb5945e890d9538ccdf /templates/repo/issue
parenteeb968eab591d21eacf45e3743575f614ba5ba66 (diff)
downloadgitea-3d6f1731b5fd1378ffc7999ef26154c510eb6eba.tar.gz
gitea-3d6f1731b5fd1378ffc7999ef26154c510eb6eba.zip
Fix and simplify some tmpl conditions (#11080)
Diffstat (limited to 'templates/repo/issue')
-rw-r--r--templates/repo/issue/view_content.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/issue/view_content.tmpl b/templates/repo/issue/view_content.tmpl
index b003342c3f..bf06a12d6f 100644
--- a/templates/repo/issue/view_content.tmpl
+++ b/templates/repo/issue/view_content.tmpl
@@ -66,7 +66,7 @@
{{ template "repo/issue/view_content/pull". }}
{{end}}
{{if .IsSigned}}
- {{ if and (or .IsRepoAdmin .HasIssuesOrPullsWritePermission (or (not .Issue.IsLocked))) (not .Repository.IsArchived) }}
+ {{ if and (or .IsRepoAdmin .HasIssuesOrPullsWritePermission (not .Issue.IsLocked)) (not .Repository.IsArchived) }}
<div class="timeline-item comment form">
<a class="timeline-avatar" href="{{.SignedUser.HomeLink}}">
<img src="{{.SignedUser.RelAvatarLink}}">