File tree Expand file tree Collapse file tree 4 files changed +3
-11
lines changed Expand file tree Collapse file tree 4 files changed +3
-11
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ func TestPullRequest_AddToTaskQueue(t *testing.T) {
36
36
assert .NoError (t , err )
37
37
38
38
pr := unittest .AssertExistsAndLoadBean (t , & issues_model.PullRequest {ID : 2 })
39
- AddToTaskQueue (db .DefaultContext , pr )
39
+ StartPullRequestCheckImmediately (db .DefaultContext , pr )
40
40
41
41
assert .Eventually (t , func () bool {
42
42
pr = unittest .AssertExistsAndLoadBean (t , & issues_model.PullRequest {ID : 2 })
Original file line number Diff line number Diff line change 68
68
{{template "repo/issue/view_content/comments" .}}
69
69
70
70
{{if and .Issue.IsPull (not $.Repository.IsArchived)}}
71
- {{template "repo/issue/view_content/pull ".}}
71
+ {{template "repo/issue/view_content/pull_merge_box ".}}
72
72
{{end}}
73
73
74
74
{{if .IsSigned}}
Original file line number Diff line number Diff line change 1
1
{{if and .Issue.PullRequest.HasMerged (not .IsPullBranchDeletable)}}
2
2
{{/* Then the merge box will not be displayed because this page already contains enough information */}}
3
3
{{else}}
4
- <div class="timeline-item comment merge box">
4
+ <div class="timeline-item comment pull- merge- box">
5
5
<div class="timeline-avatar text {{if .Issue.PullRequest.HasMerged}}purple
6
6
{{- else if .Issue.IsClosed}}grey
7
7
{{- else if .IsPullWorkInProgress}}grey
Original file line number Diff line number Diff line change @@ -476,14 +476,6 @@ td .commit-summary {
476
476
margin-right : 5px ;
477
477
}
478
478
479
- .repository .view .issue .merge .box .branch-update .grid .row {
480
- padding-bottom : 1rem ;
481
- }
482
-
483
- .repository .view .issue .merge .box .branch-update .grid .row .icon {
484
- margin-top : 1.1rem ;
485
- }
486
-
487
479
.repository .view .issue .comment-list : not (.prevent-before-timeline )::before {
488
480
display : block;
489
481
content : "" ;
You can’t perform that action at this time.
0 commit comments