Skip to content

Commit 665d7e9

Browse files
6543zeripath
authored andcommitted
Fix signing info on PR view if not signed in (#9788)
1 parent e7923c4 commit 665d7e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/repo/issue/view_content/pull.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@
151151
<i class="icon lock green"></i>
152152
{{$.i18n.Tr "repo.signing.will_sign" .SigningKey}}
153153
</div>
154-
{{else}}
154+
{{else if .IsSigned}}
155155
<div class="item text yellow">
156156
<i class="icon unlock grey"></i>
157157
{{$.i18n.Tr (printf "repo.signing.wont_sign.%s" .WontSignReason) }}

0 commit comments

Comments
 (0)