From e7f0613d8281e4ff9c8a7bebc5de0c02cd4efb21 Mon Sep 17 00:00:00 2001 From: Benedict Aas Date: Wed, 29 Mar 2017 14:12:45 +0100 Subject: [PATCH] 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. --- lib/gui/pages/main/templates/main.tpl.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/gui/pages/main/templates/main.tpl.html b/lib/gui/pages/main/templates/main.tpl.html index 3d1e58a7..9da16fad 100644 --- a/lib/gui/pages/main/templates/main.tpl.html +++ b/lib/gui/pages/main/templates/main.tpl.html @@ -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 }})"> {{ (main.selection.getDrive().description || "") | middleEllipses:11 }}