mirror of
https://github.com/filebrowser/filebrowser.git
synced 2024-06-07 23:00:43 +00:00
19 lines
584 B
Cheetah
19 lines
584 B
Cheetah
{{ define "actions" }}
|
|
<div class="action" id="open">
|
|
<i class="material-icons" title="See raw">open_in_new</i> <span>See raw</span>
|
|
</div>
|
|
{{ if and .IsDir .User.AllowEdit }}
|
|
<div class="action" id="rename">
|
|
<i class="material-icons" title="Edit">mode_edit</i>
|
|
</div>
|
|
{{ end }}
|
|
<div class="action" id="download">
|
|
<i class="material-icons" title="Download">file_download</i> <span>Download</span>
|
|
</div>
|
|
{{ if .User.AllowEdit }}
|
|
<div class="action" id="delete">
|
|
<i class="material-icons" title="Delete">delete</i> <span>Delete</span>
|
|
</div>
|
|
{{ end }}
|
|
{{ end }}
|