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/repo/issue/view_content.tmpl | |
parent | eeb968eab591d21eacf45e3743575f614ba5ba66 (diff) | |
download | gitea-3d6f1731b5fd1378ffc7999ef26154c510eb6eba.tar.gz gitea-3d6f1731b5fd1378ffc7999ef26154c510eb6eba.zip |
Fix and simplify some tmpl conditions (#11080)
Diffstat (limited to 'templates/repo/issue/view_content.tmpl')
-rw-r--r-- | templates/repo/issue/view_content.tmpl | 2 |
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}}"> |