minifix: hide drive selector hyphen when no size info (#1900)

We hide the separator hyphen between the name and size when there is no
size information available, in the drive selector modal.

Change-Type: patch
Changelog-Entry: Hide the drive-selector separator hyphen when no drive
size is available.
This commit is contained in:
Benedict Aas 2017-12-04 23:11:07 +00:00 committed by Juan Cruz Viotti
parent a70935586b
commit f22938030d

View File

@ -19,9 +19,9 @@
tabindex="{{ 15 + $index }}"
ng-keypress="modal.keyboardToggleDrive(drive, $event)">
<h4 class="list-group-item-heading">{{ drive.description }} -
<h4 class="list-group-item-heading">{{ drive.description }}
<span class="word-keep"
ng-show="drive.size">{{ drive.size | closestUnit }}</span>
ng-show="drive.size"> - {{ drive.size | closestUnit }}</span>
</h4>
<p class="list-group-item-text">{{ drive.displayName }}</p>