Signed-off-by: Ivan Sein <ivan@nextcloud.com>
+ '</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}}'
// Show tooltip for top action
this.$('.top-action').tooltip({placement: 'left'});
+ // Show tooltip for second action
+ this.$('.second-action').tooltip({placement: 'left'});
return this;
},