mirror of
https://github.com/balena-io/etcher.git
synced 2025-04-24 07:17:18 +00:00
feat(GUI): display drive name and description in tooltip (#1233)
In the main page we show the drive description, and on hover a tooltip shows the drive name. The tooltip behaviour is changed to show both, un-truncated. Closes: https://github.com/resin-io/etcher/issues/1170 Changelog-Entry: Add the un-truncated drive description to the selected drive step tooltip.
This commit is contained in:
parent
3c1882d2b4
commit
e7f0613d82
@ -61,7 +61,7 @@
|
||||
ng-class="{
|
||||
'text-disabled': main.shouldDriveStepBeDisabled()
|
||||
}"
|
||||
uib-tooltip="{{ main.selection.getDrive().name }}">
|
||||
uib-tooltip="{{ main.selection.getDrive().description }} ({{ main.selection.getDrive().name }})">
|
||||
<span class="step-drive step-name">
|
||||
<!-- middleEllipses errors on undefined, therefore fallback to empty string -->
|
||||
{{ (main.selection.getDrive().description || "") | middleEllipses:11 }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user