File tree 1 file changed +5
-1
lines changed
1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change 75
75
</td>
76
76
<td class="two wide right aligned">
77
77
{{if not .LatestPullRequest}}
78
- {{if and (not .IsDeleted) $.AllowsPulls (gt .CommitsAhead 0)}}
78
+ {{if .IsIncluded}}
79
+ <a class="ui poping up orange small label" data-content="{{$.i18n.Tr "repo.branch.included_desc"}}" data-variation="tiny inverted" data-position="top right">
80
+ <i class="octicon octicon-git-pull-request"></i> {{$.i18n.Tr "repo.branch.included"}}
81
+ </a>
82
+ {{else if and (not .IsDeleted) $.AllowsPulls (gt .CommitsAhead 0)}}
79
83
<a href="{{$.RepoLink}}/compare/{{$.DefaultBranch | EscapePound}}...{{if ne $.Repository.Owner.Name $.Owner.Name}}{{$.Owner.Name}}:{{end}}{{.Name | EscapePound}}">
80
84
<button id="new-pull-request" class="ui compact basic button">{{$.i18n.Tr "repo.pulls.compare_changes"}}</button>
81
85
</a>
You can’t perform that action at this time.
0 commit comments