diff options
author | zeripath <art27@cantab.net> | 2020-04-19 13:31:56 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-19 20:31:56 +0800 |
commit | 9588d2c6226c3d027bc5eca8cde7f85806dc3633 (patch) | |
tree | 063dcb86a7cce33a50bc3622d081b58963557178 /templates/repo/issue | |
parent | 23163e98a307300a6ba43e3d8c3b0d031398fef4 (diff) | |
download | gitea-9588d2c6226c3d027bc5eca8cde7f85806dc3633.tar.gz gitea-9588d2c6226c3d027bc5eca8cde7f85806dc3633.zip |
Remove errant third curly brackets from account.tmpl and pull.tmpl and send account ID in account.tmpl (#11129)
* Remove errant third } from account.tmpl
Fix #11128
Signed-off-by: Andrew Thornton <art27@cantab.net>
* Remove errant third curly bracket from pull.tmpl
Signed-off-by: Andrew Thornton <art27@cantab.net>
* Update templates/user/settings/account.tmpl
Diffstat (limited to 'templates/repo/issue')
-rw-r--r-- | templates/repo/issue/view_content/pull.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/issue/view_content/pull.tmpl b/templates/repo/issue/view_content/pull.tmpl index e66c2f6a9a..3aee0773f8 100644 --- a/templates/repo/issue/view_content/pull.tmpl +++ b/templates/repo/issue/view_content/pull.tmpl @@ -69,7 +69,7 @@ {{- else if .IsBlockedByOutdatedBranch}}red {{- else if and .EnableStatusCheck (or .RequiredStatusCheckState.IsFailure .RequiredStatusCheckState.IsError)}}red {{- else if and .EnableStatusCheck (or (not $.LatestCommitStatus) .RequiredStatusCheckState.IsPending .RequiredStatusCheckState.IsWarning)}}yellow - {{- else if and .RequireSigned (not .WillSign)}}}red + {{- else if and .RequireSigned (not .WillSign)}}red {{- else if .Issue.PullRequest.IsChecking}}yellow {{- else if .Issue.PullRequest.CanAutoMerge}}green {{- else}}red{{end}}">{{svg "octicon-git-merge" 32}}</a> |