diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2018-10-15 15:51:40 +0200 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2018-10-15 15:51:40 +0200 |
commit | a1b74492027cf0a9a91fe29f660939fab9ef7faa (patch) | |
tree | 829126c58e601b37214ba98695567c23ead6073d /apps/files/js/templates | |
parent | 6f835aff31549a30d63e8bdcad4854f13120dbe5 (diff) | |
download | nextcloud-server-a1b74492027cf0a9a91fe29f660939fab9ef7faa.tar.gz nextcloud-server-a1b74492027cf0a9a91fe29f660939fab9ef7faa.zip |
Move fileactionsmenu to compiled handlebars
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'apps/files/js/templates')
-rw-r--r-- | apps/files/js/templates/fileactionsmenu.handlebars | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/apps/files/js/templates/fileactionsmenu.handlebars b/apps/files/js/templates/fileactionsmenu.handlebars new file mode 100644 index 00000000000..d8d1b78fd86 --- /dev/null +++ b/apps/files/js/templates/fileactionsmenu.handlebars @@ -0,0 +1,17 @@ +<ul> + {{#each items}} + <li> + <a href="#" class="menuitem action action-{{nameLowerCase}} permanent" data-action="{{name}}"> + {{#if icon}}<img class="icon" src="{{icon}}"/> + {{else}} + {{#if iconClass}} + <span class="icon {{iconClass}}"></span> + {{else}} + <span class="no-icon"></span> + {{/if}} + {{/if}} + <span>{{displayName}}</span> + </a> + </li> + {{/each}} +</ul> |