mirror of
https://codeberg.org/davrot/forgejo.git
synced 2025-04-21 07:16:41 +02:00
templates/repo/home.tmpl aktualisiert
This commit is contained in:
parent
640e0e438e
commit
ba70463b53
1 changed files with 1 additions and 1 deletions
|
@ -117,7 +117,7 @@
|
|||
|
||||
{{if (not .IsViewFile)}}
|
||||
{{if and .CanDeleteFile (not .IsBlame)}}
|
||||
<span class="btn-octicon btn-octicon-danger" data-tooltip-content="{{.DeleteFileTooltip}}"> <a href="{{.RepoLink}}/_delete_path/{{PathEscapeSegments .BranchName}}/{{PathEscapeSegments .TreePath}}"><span class="btn-octicon btn-octicon-danger" data-tooltip-content="{{.DeleteFileTooltip}}">{{svg "octicon-trash"}}</span></a>
|
||||
<a href="{{.RepoLink}}/_delete_path/{{PathEscapeSegments .BranchName}}/{{PathEscapeSegments .TreePath}}"><span class="btn-octicon btn-octicon-danger" data-tooltip-content="{{.DeleteFileTooltip}}">{{svg "octicon-trash"}}</span></a>
|
||||
{{else}}
|
||||
<span class="btn-octicon disabled" data-tooltip-content="{{.DeleteFileTooltip}}">{{svg "octicon-trash"}}</span>
|
||||
{{end}}
|
||||
|
|
Loading…
Add table
Reference in a new issue