|
|
|
@ -95,9 +95,9 @@ |
|
|
|
|
{{if .LatestPullRequest.HasMerged}} |
|
|
|
|
<a href="{{.LatestPullRequest.Issue.HTMLURL}}" class="ui text-label purple mini label">{{svg "octicon-git-merge" 16}} {{$.i18n.Tr "repo.pulls.merged"}}</a> |
|
|
|
|
{{else if .LatestPullRequest.Issue.IsClosed}} |
|
|
|
|
<a href="{{.LatestPullRequest.Issue.HTMLURL}}" class="ui text-label red mini label">{{svg "octicon-issue-closed" 16}} {{$.i18n.Tr "repo.issues.closed_title"}}</a> |
|
|
|
|
<a href="{{.LatestPullRequest.Issue.HTMLURL}}" class="ui text-label red mini label">{{svg "octicon-git-pull-request" 16}} {{$.i18n.Tr "repo.issues.closed_title"}}</a> |
|
|
|
|
{{else}} |
|
|
|
|
<a href="{{.LatestPullRequest.Issue.HTMLURL}}" class="ui text-label green mini label">{{svg "octicon-issue-opened" 16}} {{$.i18n.Tr "repo.issues.open_title"}}</a> |
|
|
|
|
<a href="{{.LatestPullRequest.Issue.HTMLURL}}" class="ui text-label green mini label">{{svg "octicon-git-pull-request" 16}} {{$.i18n.Tr "repo.issues.open_title"}}</a> |
|
|
|
|
{{end}} |
|
|
|
|
{{end}} |
|
|
|
|
</td> |
|
|
|
|