diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2018-10-15 19:52:22 +0200 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2018-10-15 19:52:22 +0200 |
commit | e7443ee892f2ef49fed327cef6770ce11cd1fc0b (patch) | |
tree | 3e5276506ae57b3ca72e96e195024607586c31de /apps/comments/js/templates | |
parent | 6f835aff31549a30d63e8bdcad4854f13120dbe5 (diff) | |
download | nextcloud-server-e7443ee892f2ef49fed327cef6770ce11cd1fc0b.tar.gz nextcloud-server-e7443ee892f2ef49fed327cef6770ce11cd1fc0b.zip |
Move more comments to compiled handlebars
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'apps/comments/js/templates')
-rw-r--r-- | apps/comments/js/templates/commentsmodifymenu.handlebars | 14 | ||||
-rw-r--r-- | apps/comments/js/templates/filesplugin.handlebars | 3 |
2 files changed, 17 insertions, 0 deletions
diff --git a/apps/comments/js/templates/commentsmodifymenu.handlebars b/apps/comments/js/templates/commentsmodifymenu.handlebars new file mode 100644 index 00000000000..28f6ffcdde6 --- /dev/null +++ b/apps/comments/js/templates/commentsmodifymenu.handlebars @@ -0,0 +1,14 @@ +<ul> + {{#each items}} + <li> + <a href="#" class="menuitem action {{name}} permanent" data-action="{{name}}"> + {{#if iconClass}} + <span class="icon {{iconClass}}"></span> + {{else}} + <span class="no-icon"></span> + {{/if}} + <span>{{displayName}}</span> + </a> + </li> + {{/each}} +</ul> diff --git a/apps/comments/js/templates/filesplugin.handlebars b/apps/comments/js/templates/filesplugin.handlebars new file mode 100644 index 00000000000..8f3699380be --- /dev/null +++ b/apps/comments/js/templates/filesplugin.handlebars @@ -0,0 +1,3 @@ +<a class="action action-comment permanent" title="{{countMessage}}" href="#"> + <img class="svg" src="{{iconUrl}}"/> +</a> |