summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2017-04-11 09:09:45 +0200
committerChristoph Wurst <christoph@winzerhof-wurst.at>2017-04-25 20:47:17 +0200
commit2c2e1f7988df795d8f85a3003f84fa646c701380 (patch)
tree79c6ccf13e2efd5228f5d1971f171c9de42ef23d /core
parentb8c2a8ae36235780675103286a04f8b6af50b4aa (diff)
downloadnextcloud-server-2c2e1f7988df795d8f85a3003f84fa646c701380.tar.gz
nextcloud-server-2c2e1f7988df795d8f85a3003f84fa646c701380.zip
Use absolute URI for action icons
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'core')
-rw-r--r--core/js/contactsmenu.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/core/js/contactsmenu.js b/core/js/contactsmenu.js
index bf469b8a321..2e33b5e7c64 100644
--- a/core/js/contactsmenu.js
+++ b/core/js/contactsmenu.js
@@ -58,7 +58,9 @@
+ ' <div class="last-message">{{contact.lastMessage}}</div>'
+ '</div>'
+ '{{#if contact.topAction}}'
- + '<a class="top-action {{contact.topAction.icon}}" href="{{contact.topAction.hyperlink}}" title="{{contact.topAction.title}}"></a>'
+ + '<a class="top-action" href="{{contact.topAction.hyperlink}}" title="{{contact.topAction.title}}">'
+ + ' <img src="{{contact.topAction.icon}}">'
+ + '</a>'
+ '{{/if}}'
+ '{{#if contact.hasManyActions}}'
+ ' <span class="other-actions icon-more"></span>'
@@ -67,7 +69,7 @@
+ ' {{#each contact.actions}}'
+ ' <li>'
+ ' <a href="{{hyperlink}}">'
- + ' <span class="{{icon}}"></span>'
+ + ' <img src="{{icon}}">'
+ ' <span>{{title}}</span>'
+ ' </a>'
+ ' </li>'