Layout improvements for interface view

* fixed margins of title of interface which is unavailable for bonding
* added default value for bond property translations

Related-Bug: #1558996

Change-Id: I04fd610de24c82546ad71ebebe1d7ad988072a94
This commit is contained in:
Julia Aranovich 2016-04-01 15:42:19 +03:00
parent cecd88bf43
commit 719f83c901
2 changed files with 3 additions and 3 deletions

View File

@ -3619,9 +3619,9 @@ input[type=range] {
.help-block {
display: none;
}
.ifc-name {
.common-ifc-name {
&.no-checkbox {
padding: 7px 0 0 50px;
padding: 7px 0 0 @base-ifc-indent * 2;
.font-semibold;
}
}

View File

@ -692,7 +692,7 @@ var NodeInterface = React.createClass({
return _.map(bondingModes, (mode) => {
return (
<option key={'option-' + mode} value={mode}>
{i18n(ns + attributeName + '.' + mode.replace('.', '_'))}
{i18n(ns + attributeName + '.' + mode.replace('.', '_'), {defaultValue: mode})}
</option>
);
});