feat(ui): Display to maintainers in PR when it is editable
This commit is contained in:
parent
93f84db542
commit
c6ab10c1ba
3 changed files with 62 additions and 0 deletions
|
@ -95,6 +95,11 @@
|
|||
</span>
|
||||
</a>
|
||||
{{end}}
|
||||
{{if and .Issue.PullRequest.AllowMaintainerEdit .CanWriteCode}}
|
||||
<span id="editable-label" data-tooltip-content="{{ctx.Locale.Tr "repo.pulls.editable_explanation"}}" class="ui small label">
|
||||
{{ctx.Locale.Tr "repo.pulls.editable"}}
|
||||
</span>
|
||||
{{end}}
|
||||
<span id="pull-desc-editor" class="tw-hidden flex-text-block" data-target-update-url="{{$.RepoLink}}/pull/{{.Issue.Index}}/target_branch">
|
||||
<div class="ui floating filter dropdown">
|
||||
<div class="ui basic small button tw-mr-0">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue