js cleaning

Former-commit-id: 9bcc591d7198b05a80208bf2f0ea886dbb0d20ef [formerly d839fcb715067f316de578009c491f5bc8bd4d26] [formerly 6d3d299a509857f18c40b2ac8216b670175cb982 [formerly 1fb4fab09586a1d5b2da21a6b8f60e1c211f716b]]
Former-commit-id: fe8cfe5dcf92995224b4f8c6bf5552f56e25c790 [formerly b7f7f69d5c94b44cfa8acb00af9b4d7dab1eb42b]
Former-commit-id: 17de9bc37c2e5b1fb1d5d7fc07018242dd114e99
This commit is contained in:
Henrique Dias
2017-06-26 17:53:29 +01:00
parent 7200072cd8
commit a2d66f44ea
3 changed files with 163 additions and 191 deletions

View File

@@ -83,13 +83,6 @@
</div>
{{- end }}
{{- if .IsDir }}
<div tabindex="0" role="button" aria-label="See raw" class="action" id="open">
<i class="material-icons" title="See raw">open_in_new</i>
<span>See raw</span>
</div>
{{- end }}
{{- if and (.User.AllowEdit) (.IsDir) }}
<div tabindex="0" role="button" aria-label="Move" class="action" id="move">
<i class="material-icons" title="Move">forward</i>
@@ -139,13 +132,6 @@
</div>
{{- end }}
{{- if not .IsDir }}
<div tabindex="0" role="button" aria-label="See raw" class="action" id="open">
<i class="material-icons" title="See raw">open_in_new</i>
<span>See raw</span>
</div>
{{- end }}
{{- if and .User.AllowEdit (not .IsDir) }}
<div tabindex="0" role="button" aria-label="Delete" class="action" id="delete">
<i class="material-icons" title="Delete">delete</i><span>Delete</span>