]> source.dussan.org Git - gitea.git/commitdiff
Correct tooltip msg blocked by dependencies (#9211)
authorprogramkode <programkode@users.noreply.github.com>
Fri, 29 Nov 2019 19:05:49 +0000 (20:05 +0100)
committertechknowlogick <techknowlogick@gitea.io>
Fri, 29 Nov 2019 19:05:49 +0000 (14:05 -0500)
templates/repo/issue/view_content/sidebar.tmpl

index 7f6ee2c4374a2fa67c53c11ddefc8176980a0fbd..dd58e8b216b59e4033da9e838eebdda7084b7300 100644 (file)
 
                                {{if .BlockedByDependencies}}
                                        <span class="text" data-tooltip="{{if .Issue.IsPull}}
-                                               {{.i18n.Tr "repo.issues.dependency.issue_closing_blockedby"}}
-                                       {{else}}
                                                {{.i18n.Tr "repo.issues.dependency.pr_closing_blockedby"}}
+                                       {{else}}
+                                               {{.i18n.Tr "repo.issues.dependency.issue_closing_blockedby"}}
                                        {{end}}" data-inverted="">
                                        <strong>{{.i18n.Tr "repo.issues.dependency.blocked_by_short"}}</strong>
                                        </span>