mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-01 13:13:22 +08:00
Fix invite users modal to display tooltips in all variants
Closes SCI-2759.
This commit is contained in:
parent
d71be76657
commit
21a24dc98b
1 changed files with 11 additions and 2 deletions
|
@ -111,12 +111,21 @@ invite_to_team = type.in?(%w(invite_to_team invite_to_team_with_role))
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
<!-- Invite buttons -->
|
<!-- Invite buttons -->
|
||||||
<button type="button" data-role="invite-btn" class="btn btn-success" disabled="disabled" data-action="invite">
|
<button type="button" class="btn btn-success help_tooltips"
|
||||||
|
data-tooltiplink="<%= I18n.t('tooltips.link.invite_to_sci') %>"
|
||||||
|
data-tooltipcontent="<%= I18n.t('tooltips.text.invite_to_sci') %>"
|
||||||
|
data-role="invite-btn" data-action="invite"
|
||||||
|
disabled="disabled">
|
||||||
<%= t('invite_users.invite_btn') %>
|
<%= t('invite_users.invite_btn') %>
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
<div class="btn-group" data-role="invite-with-role-div">
|
<div class="btn-group" data-role="invite-with-role-div">
|
||||||
<button type="button" class="btn btn-success dropdown-toggle help_tooltips" data-tooltiplink="<%= I18n.t('tooltips.link.invite_to_sci') %>" data-tooltipcontent="<%= I18n.t('tooltips.text.invite_to_sci') %>" data-toggle="dropdown" data-id="invite-btn" aria-haspopup="true" aria-expanded="false" data-role="invite-with-role-btn" disabled="disabled">
|
<button type="button" class="btn btn-success dropdown-toggle help_tooltips"
|
||||||
|
data-tooltiplink="<%= I18n.t('tooltips.link.invite_to_sci') %>"
|
||||||
|
data-tooltipcontent="<%= I18n.t('tooltips.text.invite_to_sci') %>"
|
||||||
|
data-toggle="dropdown" data-id="invite-btn" aria-haspopup="true"
|
||||||
|
aria-expanded="false" data-role="invite-with-role-btn"
|
||||||
|
disabled="disabled">
|
||||||
<%= t('invite_users.invite_btn') %>
|
<%= t('invite_users.invite_btn') %>
|
||||||
|
|
||||||
<span class="caret"></span>
|
<span class="caret"></span>
|
||||||
|
|
Loading…
Reference in a new issue