Merge pull request #4562 from nextcloud/contactmenu-second-tooltip
Show tooltip for second action in contacts menu
This commit is contained in:
commit
3fb7de2dfb
1 changed files with 3 additions and 1 deletions
|
@ -64,7 +64,7 @@
|
|||
+ '</a>'
|
||||
+ '{{/if}}'
|
||||
+ '{{#if contact.hasTwoActions}}'
|
||||
+ '<a class="second-action" href="{{contact.secondAction.hyperlink}}">'
|
||||
+ '<a class="second-action" href="{{contact.secondAction.hyperlink}}" title="{{contact.secondAction.title}}">'
|
||||
+ ' <img src="{{contact.secondAction.icon}}">'
|
||||
+ '</a>'
|
||||
+ '{{/if}}'
|
||||
|
@ -228,6 +228,8 @@
|
|||
|
||||
// Show tooltip for top action
|
||||
this.$('.top-action').tooltip({placement: 'left'});
|
||||
// Show tooltip for second action
|
||||
this.$('.second-action').tooltip({placement: 'left'});
|
||||
|
||||
return this;
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue