mirror of
https://github.com/go-gitea/gitea.git
synced 2026-05-15 10:43:21 +02:00
Allow fork and delete directory
This commit is contained in:
parent
43ed2000f5
commit
143aa8c666
@ -102,7 +102,7 @@
|
||||
</a>
|
||||
{{if and (.Repository.CanContentChange) (not $isTreePathRoot)}}
|
||||
<div class="divider"></div>
|
||||
<a class="item tw-text-danger{{if not (.Permission.CanWrite ctx.Consts.RepoUnitTypeCode)}} disabled{{end}}" href="{{.RepoLink}}/_delete/{{.BranchName | PathEscapeSegments}}/{{.TreePath | PathEscapeSegments}}">
|
||||
<a class="item tw-text-danger" href="{{.RepoLink}}/_delete/{{.BranchName | PathEscapeSegments}}/{{.TreePath | PathEscapeSegments}}">
|
||||
{{svg "octicon-trash" 16}}{{ctx.Locale.Tr "repo.editor.delete_this_directory"}}
|
||||
</a>
|
||||
{{end}}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user