mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
Merge pull request #37463 from nextcloud/backport/37423/stable26
[stable26] Replace custom tooltips with native ones of entries in contacts menu.
This commit is contained in:
commit
32942381ba
6 changed files with 8 additions and 13 deletions
|
|
@ -173,11 +173,6 @@ const ContactsListItemView = View.extend({
|
|||
// Show placeholder if no avatar is available (avatar is rendered as img, not div)
|
||||
this.$('div.avatar').imageplaceholder(this._model.get('fullName'))
|
||||
|
||||
// Show tooltip for top action
|
||||
this.$('.top-action').tooltip({ placement: 'left' })
|
||||
// Show tooltip for second action
|
||||
this.$('.second-action').tooltip({ placement: 'left' })
|
||||
|
||||
return this
|
||||
},
|
||||
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@
|
|||
</a>
|
||||
{{/if}}
|
||||
{{#if contact.topAction}}
|
||||
<a class="top-action" href="{{contact.topAction.hyperlink}}" title="{{contact.topAction.title}}">
|
||||
<a class="top-action" href="{{contact.topAction.hyperlink}}" title="{{contact.topAction.title}}" aria-label="{{contact.topAction.title}}">
|
||||
<img src="{{contact.topAction.icon}}" alt="{{contact.topAction.title}}">
|
||||
</a>
|
||||
{{/if}}
|
||||
|
|
@ -49,7 +49,7 @@
|
|||
</div>
|
||||
{{/if}}
|
||||
{{#if contact.hasTwoActions}}
|
||||
<a class="second-action" href="{{contact.secondAction.hyperlink}}" title="{{contact.secondAction.title}}">
|
||||
<a class="second-action" href="{{contact.secondAction.hyperlink}}" aria-label="{{contact.secondAction.title}}" title="{{contact.secondAction.title}}">
|
||||
<img src="{{contact.secondAction.icon}}" alt="{{contact.secondAction.title}}">
|
||||
</a>
|
||||
{{/if}}
|
||||
|
|
|
|||
4
dist/core-login.js
vendored
4
dist/core-login.js
vendored
File diff suppressed because one or more lines are too long
2
dist/core-login.js.map
vendored
2
dist/core-login.js.map
vendored
File diff suppressed because one or more lines are too long
4
dist/core-main.js
vendored
4
dist/core-main.js
vendored
File diff suppressed because one or more lines are too long
2
dist/core-main.js.map
vendored
2
dist/core-main.js.map
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue