mirror of
https://github.com/go-gitea/gitea
synced 2025-08-06 09:38:21 +00:00
7
templates/repo/issue/sidebar/wip_switch.tmpl
Normal file
7
templates/repo/issue/sidebar/wip_switch.tmpl
Normal file
@@ -0,0 +1,7 @@
|
||||
{{if and (or .HasIssuesOrPullsWritePermission .IsIssuePoster) (not .HasMerged) (not .Issue.IsClosed) (not .IsPullWorkInProgress)}}
|
||||
<div class="toggle-wip" data-title="{{.Issue.Title}}" data-wip-prefix="{{index .PullRequestWorkInProgressPrefixes 0}}" data-update-url="{{.Issue.Link}}/title">
|
||||
<a class="muted">
|
||||
{{ctx.Locale.Tr "repo.pulls.still_in_progress"}} {{ctx.Locale.Tr "repo.pulls.add_prefix" (index .PullRequestWorkInProgressPrefixes 0)}}
|
||||
</a>
|
||||
</div>
|
||||
{{end}}
|
Reference in New Issue
Block a user