|
@ -95,9 +95,9 @@ |
|
|
{{if .LatestPullRequest.HasMerged}} |
|
|
{{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> |
|
|
<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}} |
|
|
{{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}} |
|
|
{{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}} |
|
|
{{end}} |
|
|
{{end}} |
|
|
</td> |
|
|
</td> |
|
|