Skip to content

Commit

Permalink
Pass WIP prefix to cannot_merge_work_in_progress message
Browse files Browse the repository at this point in the history
For compatibility with the other languages, this param can be removed once they have all been updated
  • Loading branch information
jpraet committed Feb 14, 2021
1 parent 8de91cd commit 1750f11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/repo/issue/view_content/pull.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@
{{else if .IsPullWorkInProgress}}
<div class="item toggle-wip" data-title="{{.Issue.Title}}" data-wip-prefix="{{(.WorkInProgressPrefix|Escape)}}" data-update-url="{{$.RepoLink}}/issues/{{.Issue.Index}}/title">
<i class="icon icon-octicon">{{svg "octicon-x"}}</i>
{{$.i18n.Tr "repo.pulls.cannot_merge_work_in_progress" }}
{{$.i18n.Tr "repo.pulls.cannot_merge_work_in_progress" (.WorkInProgressPrefix|Escape) | Safe}}
{{if .HasIssuesOrPullsWritePermission}}
{{$.i18n.Tr "repo.pulls.remove_wip_prefix" (.WorkInProgressPrefix|Escape) | Safe}}
{{end}}
Expand Down

0 comments on commit 1750f11

Please sign in to comment.