mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2024-11-23 12:30:50 +01:00
CA-224724: VBD edit page: show 'position in use' message on the dropdown items
requested changed by code review Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
This commit is contained in:
parent
5df4d174c0
commit
33c95f5e6f
@ -391,7 +391,7 @@ namespace XenAdmin.SettingsPanels
|
||||
return position;
|
||||
|
||||
if (vdi != null)
|
||||
return string.Format(Messages.VBD_EDIT_CURRENTLY_IN_USE_BY, position, vdi.ToString());
|
||||
return string.Format(Messages.VBD_EDIT_CURRENTLY_IN_USE_BY, position, vdi.ToString().Ellipsise(30));
|
||||
|
||||
return string.Format(Messages.VBD_EDIT_CURRENTLY_IN_USE, position);
|
||||
}
|
||||
|
@ -195,9 +195,15 @@
|
||||
<data name="devicePositionComboBox.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
|
||||
<value>Top, Left, Right</value>
|
||||
</data>
|
||||
<data name="devicePositionComboBox.IntegralHeight" type="System.Boolean, mscorlib">
|
||||
<value>False</value>
|
||||
</data>
|
||||
<data name="devicePositionComboBox.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>122, 84</value>
|
||||
</data>
|
||||
<data name="devicePositionComboBox.MaxDropDownItems" type="System.Int32, mscorlib">
|
||||
<value>15</value>
|
||||
</data>
|
||||
<data name="devicePositionComboBox.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>281, 21</value>
|
||||
</data>
|
||||
|
Loading…
Reference in New Issue
Block a user