Merge pull request 'Fix toggling WIP state in PR footer' (#3537) from fnetx/fix-wip-toggle-footer into forgejo
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/3537 Reviewed-by: Gergely Nagy <algernon@noreply.codeberg.org> Reviewed-by: 0ko <0ko@noreply.codeberg.org>
This commit is contained in:
commit
a1dbecf3b8
1 changed files with 1 additions and 1 deletions
|
@ -81,7 +81,7 @@
|
||||||
{{ctx.Locale.Tr "repo.pulls.data_broken"}}
|
{{ctx.Locale.Tr "repo.pulls.data_broken"}}
|
||||||
</div>
|
</div>
|
||||||
{{else if .IsPullWorkInProgress}}
|
{{else if .IsPullWorkInProgress}}
|
||||||
<div class="item toggle-wip" data-title="{{.Issue.Title}}" data-wip-prefix="{{.WorkInProgressPrefix}}" data-update-url="{{.Issue.Link}}/title">
|
<div class="item toggle-wip" data-title="{{.Issue.Title}}" data-wip-prefixes="{{JsonUtils.EncodeToString .PullRequestWorkInProgressPrefixes}}" data-update-url="{{.Issue.Link}}/title">
|
||||||
<div class="item-section-left flex-text-inline tw-flex-1">
|
<div class="item-section-left flex-text-inline tw-flex-1">
|
||||||
{{svg "octicon-x"}}
|
{{svg "octicon-x"}}
|
||||||
{{ctx.Locale.Tr "repo.pulls.cannot_merge_work_in_progress"}}
|
{{ctx.Locale.Tr "repo.pulls.cannot_merge_work_in_progress"}}
|
||||||
|
|
Loading…
Reference in a new issue