Skip to content

Commit 793e032

Browse files
CL-Jeremyzeripath
andauthored
label size, PR ref, new PR button alignment (#15363)
Co-authored-by: zeripath <[email protected]>
1 parent 143071e commit 793e032

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

templates/repo/branch/list.tmpl

+4-4
Original file line numberDiff line numberDiff line change
@@ -76,22 +76,22 @@
7676
<td class="three wide right aligned">
7777
{{if not .LatestPullRequest}}
7878
{{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">
79+
<a class="ui poping up orange large label" data-content="{{$.i18n.Tr "repo.branch.included_desc"}}" data-variation="tiny inverted" data-position="top right">
8080
{{svg "octicon-git-pull-request"}} {{$.i18n.Tr "repo.branch.included"}}
8181
</a>
8282
{{else if and (not .IsDeleted) $.AllowsPulls (gt .CommitsAhead 0)}}
8383
<a href="{{$.RepoLink}}/compare/{{$.DefaultBranch | EscapePound}}...{{if ne $.Repository.Owner.Name $.Owner.Name}}{{$.Owner.Name}}:{{end}}{{.Name | EscapePound}}">
84-
<button id="new-pull-request" class="ui compact basic button">{{if $.CanPull}}{{$.i18n.Tr "repo.pulls.compare_changes"}}{{else}}{{$.i18n.Tr "action.compare_branch"}}{{end}}</button>
84+
<button id="new-pull-request" class="ui compact basic button mr-0">{{if $.CanPull}}{{$.i18n.Tr "repo.pulls.compare_changes"}}{{else}}{{$.i18n.Tr "action.compare_branch"}}{{end}}</button>
8585
</a>
8686
{{end}}
8787
{{else if and .LatestPullRequest.HasMerged .MergeMovedOn}}
8888
{{if and (not .IsDeleted) $.AllowsPulls (gt .CommitsAhead 0)}}
8989
<a href="{{$.RepoLink}}/compare/{{$.DefaultBranch | EscapePound}}...{{if ne $.Repository.Owner.Name $.Owner.Name}}{{$.Owner.Name}}:{{end}}{{.Name | EscapePound}}">
90-
<button id="new-pull-request" class="ui compact basic button">{{if $.CanPull}}{{$.i18n.Tr "repo.pulls.compare_changes"}}{{else}}{{$.i18n.Tr "action.compare_branch"}}{{end}}</button>
90+
<button id="new-pull-request" class="ui compact basic button mr-0">{{if $.CanPull}}{{$.i18n.Tr "repo.pulls.compare_changes"}}{{else}}{{$.i18n.Tr "action.compare_branch"}}{{end}}</button>
9191
</a>
9292
{{end}}
9393
{{else}}
94-
<a href="{{.LatestPullRequest.Issue.HTMLURL}}" class="vm">{{if not .LatestPullRequest.IsSameRepo}}{{.LatestPullRequest.BaseRepo.FullName}}{{end}}#{{.LatestPullRequest.Issue.Index}}</a>
94+
<a href="{{.LatestPullRequest.Issue.HTMLURL}}" class="vm ref-issue">{{if not .LatestPullRequest.IsSameRepo}}{{.LatestPullRequest.BaseRepo.FullName}}{{end}}#{{.LatestPullRequest.Issue.Index}}</a>
9595
{{if .LatestPullRequest.HasMerged}}
9696
<a href="{{.LatestPullRequest.Issue.HTMLURL}}" class="ui text-label purple large label vm">{{svg "octicon-git-merge" 16 "mr-2"}}{{$.i18n.Tr "repo.pulls.merged"}}</a>
9797
{{else if .LatestPullRequest.Issue.IsClosed}}

0 commit comments

Comments
 (0)