File tree 5 files changed +6
-24
lines changed
5 files changed +6
-24
lines changed Original file line number Diff line number Diff line change @@ -1775,9 +1775,9 @@ pulls.unrelated_histories = Merge Failed: The merge head and base do not share a
1775
1775
pulls.merge_out_of_date = Merge Failed: Whilst generating the merge, the base was updated. Hint: Try again.
1776
1776
pulls.head_out_of_date = Merge Failed: Whilst generating the merge, the head was updated. Hint: Try again.
1777
1777
pulls.has_merged = Failed: The pull request has been merged, you cannot merge again or change the target branch.
1778
- pulls.push_rejected = Merge Failed: The push was rejected. Review the Git Hooks for this repository.
1778
+ pulls.push_rejected = Push Failed: The push was rejected. Review the Git Hooks for this repository.
1779
1779
pulls.push_rejected_summary = Full Rejection Message
1780
- pulls.push_rejected_no_message = Merge Failed: The push was rejected but there was no remote message.<br> Review the Git Hooks for this repository
1780
+ pulls.push_rejected_no_message = Push Failed: The push was rejected but there was no remote message. Review the Git Hooks for this repository
1781
1781
pulls.open_unmerged_pull_exists = `You cannot perform a reopen operation because there is a pending pull request (# %d) with identical properties.`
1782
1782
pulls.status_checking = Some checks are pending
1783
1783
pulls.status_checks_success = All checks were successful
Original file line number Diff line number Diff line change @@ -1469,7 +1469,7 @@ func CompareAndPullRequestPost(ctx *context.Context) {
1469
1469
return
1470
1470
}
1471
1471
ctx .Flash .Error (flashError )
1472
- ctx .JSONRedirect (pullIssue .Link () ) // FIXME: it's unfriendly, and will make the content lost
1472
+ ctx .JSONRedirect (ctx .Link + "?" + ctx . Req . URL . RawQuery ) // FIXME: it's unfriendly, and will make the content lost
1473
1473
return
1474
1474
}
1475
1475
ctx .ServerError ("NewPullRequest" , err )
Original file line number Diff line number Diff line change 11
11
{{ctx.Locale.Tr "action.compare_commits_general"}}
12
12
{{end}}
13
13
</h2>
14
- {{if .Flash.WarningMsg}}
15
- {{/*
16
- There's already an importing of alert.tmpl in new_form.tmpl,
17
- but only the negative message will be displayed within forms for some reasons, see semantic.css:10659.
18
- To avoid repeated negative messages, the importing here if for .Flash.WarningMsg only.
19
- */}}
20
- {{template "base/alert" .}}
21
- {{end}}
22
14
{{$BaseCompareName := $.BaseName -}}
23
15
{{- $HeadCompareName := $.HeadRepo.OwnerName -}}
24
16
{{- if and (eq $.BaseName $.HeadRepo.OwnerName) (ne $.Repository.Name $.HeadRepo.Name) -}}
Original file line number Diff line number Diff line change 2
2
<div role="main" aria-label="{{.Title}}" class="page-content repository new issue">
3
3
{{template "repo/header" .}}
4
4
<div class="ui container">
5
- {{if .Flash.WarningMsg}}
6
- {{/*
7
- There's already an importing of alert.tmpl in new_form.tmpl,
8
- but only the negative message will be displayed within forms for some reasons, see semantic.css:10659.
9
- To avoid repeated negative messages, the importing here if for .Flash.WarningMsg only.
10
- */}}
11
- {{template "base/alert" .}}
12
- {{end}}
13
5
{{template "repo/issue/new_form" .}}
14
6
</div>
15
7
</div>
Original file line number Diff line number Diff line change
1
+ {{if .Flash}}
2
+ {{template "base/alert" .}}
3
+ {{end}}
1
4
<form class="issue-content ui comment form form-fetch-action" id="new-issue" action="{{.Link}}" method="post">
2
5
{{.CsrfTokenHtml}}
3
- {{if .Flash}}
4
- <div class="sixteen wide column">
5
- {{template "base/alert" .}}
6
- </div>
7
- {{end}}
8
6
<div class="issue-content-left">
9
7
<div class="ui comments">
10
8
<div class="comment">
You can’t perform that action at this time.
0 commit comments