mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Add tooltips to the track-changes switches
This commit is contained in:
parent
e16c8aa8be
commit
f9899e8047
1 changed files with 16 additions and 2 deletions
|
@ -62,7 +62,12 @@
|
||||||
review-panel-collapse-height="reviewPanel.fullTCStateCollapsed"
|
review-panel-collapse-height="reviewPanel.fullTCStateCollapsed"
|
||||||
)
|
)
|
||||||
li.rp-tc-state-item.rp-tc-state-item-everyone
|
li.rp-tc-state-item.rp-tc-state-item-everyone
|
||||||
span.rp-tc-state-item-name !{translate("tc_everyone")}
|
span.rp-tc-state-item-name(
|
||||||
|
tooltip=translate('tc_switch_everyone_tip')
|
||||||
|
tooltip-placement="left"
|
||||||
|
tooltip-append-to-body="true"
|
||||||
|
tooltip-popup-delay="1000"
|
||||||
|
) !{translate("tc_everyone")}
|
||||||
review-panel-toggle(
|
review-panel-toggle(
|
||||||
ng-model="reviewPanel.trackChangesOnForEveryone"
|
ng-model="reviewPanel.trackChangesOnForEveryone"
|
||||||
on-toggle="toggleTrackChangesForEveryone(isOn);"
|
on-toggle="toggleTrackChangesForEveryone(isOn);"
|
||||||
|
@ -74,6 +79,10 @@
|
||||||
span.rp-tc-state-item-name(
|
span.rp-tc-state-item-name(
|
||||||
ng-class="{ 'rp-tc-state-item-name-disabled' : reviewPanel.trackChangesOnForEveryone}"
|
ng-class="{ 'rp-tc-state-item-name-disabled' : reviewPanel.trackChangesOnForEveryone}"
|
||||||
style="color: hsl({{ member.hue }}, 70%, 40%);"
|
style="color: hsl({{ member.hue }}, 70%, 40%);"
|
||||||
|
tooltip=translate('tc_switch_user_tip')
|
||||||
|
tooltip-placement="left"
|
||||||
|
tooltip-append-to-body="true"
|
||||||
|
tooltip-popup-delay="1000"
|
||||||
) {{ member.name }}
|
) {{ member.name }}
|
||||||
review-panel-toggle(
|
review-panel-toggle(
|
||||||
ng-model="reviewPanel.trackChangesState[member.id].value"
|
ng-model="reviewPanel.trackChangesState[member.id].value"
|
||||||
|
@ -83,7 +92,12 @@
|
||||||
|
|
||||||
li.rp-tc-state-separator
|
li.rp-tc-state-separator
|
||||||
li.rp-tc-state-item.rp-tc-state-item-guests
|
li.rp-tc-state-item.rp-tc-state-item-guests
|
||||||
span.rp-tc-state-item-name !{translate("tc_guests")}
|
span.rp-tc-state-item-name(
|
||||||
|
tooltip=translate('tc_switch_guests_tip')
|
||||||
|
tooltip-placement="left"
|
||||||
|
tooltip-append-to-body="true"
|
||||||
|
tooltip-popup-delay="1000"
|
||||||
|
) !{translate("tc_guests")}
|
||||||
review-panel-toggle(
|
review-panel-toggle(
|
||||||
ng-model="reviewPanel.trackChangesOnForGuests"
|
ng-model="reviewPanel.trackChangesOnForGuests"
|
||||||
on-toggle="toggleTrackChangesForGuests(isOn);"
|
on-toggle="toggleTrackChangesForGuests(isOn);"
|
||||||
|
|
Loading…
Reference in a new issue