File tree Expand file tree Collapse file tree 5 files changed +6
-24
lines changed Expand file tree Collapse file tree 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
17751775pulls.merge_out_of_date = Merge Failed: Whilst generating the merge, the base was updated. Hint: Try again.
17761776pulls.head_out_of_date = Merge Failed: Whilst generating the merge, the head was updated. Hint: Try again.
17771777pulls.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.
17791779pulls.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
17811781pulls.open_unmerged_pull_exists = `You cannot perform a reopen operation because there is a pending pull request (# %d) with identical properties.`
17821782pulls.status_checking = Some checks are pending
17831783pulls.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) {
14691469 return
14701470 }
14711471 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
14731473 return
14741474 }
14751475 ctx .ServerError ("NewPullRequest" , err )
Original file line number Diff line number Diff line change 1111 {{ctx.Locale.Tr "action.compare_commits_general"}}
1212 {{end}}
1313 </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}}
2214 {{$BaseCompareName := $.BaseName -}}
2315 {{- $HeadCompareName := $.HeadRepo.OwnerName -}}
2416 {{- if and (eq $.BaseName $.HeadRepo.OwnerName) (ne $.Repository.Name $.HeadRepo.Name) -}}
Original file line number Diff line number Diff line change 22<div role="main" aria-label="{{.Title}}" class="page-content repository new issue">
33 {{template "repo/header" .}}
44 <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}}
135 {{template "repo/issue/new_form" .}}
146 </div>
157</div>
Original file line number Diff line number Diff line change 1+ {{if .Flash}}
2+ {{template "base/alert" .}}
3+ {{end}}
14<form class="issue-content ui comment form form-fetch-action" id="new-issue" action="{{.Link}}" method="post">
25 {{.CsrfTokenHtml}}
3- {{if .Flash}}
4- <div class="sixteen wide column">
5- {{template "base/alert" .}}
6- </div>
7- {{end}}
86 <div class="issue-content-left">
97 <div class="ui comments">
108 <div class="comment">
You can’t perform that action at this time.
0 commit comments