close #31 Fixed "empty" labels

This commit is contained in:
Exodus4D
2015-10-05 22:12:07 +02:00
parent 04c7b49364
commit 525c2f1a06
4 changed files with 14 additions and 4 deletions

View File

@@ -1130,6 +1130,7 @@ define([
mode: 'popup',
type: 'text',
name: 'alias',
emptytext: system.data('name'),
title: 'System alias',
placement: 'top',
onblur: 'submit',

File diff suppressed because one or more lines are too long

View File

@@ -1,8 +1,12 @@
{{#system.alias}}
<h5 class="pull-right" data-toggle="tooltip" data-placement="top" data-container="body" title="alias">
{{system.alias}}
{{#system.alias}}
{{system.alias}}
{{/system.alias}}
{{^system.alias}}
{{system.name}}
{{/system.alias}}
</h5>
{{/system.alias}}
<h5 style="display: inline-block">

View File

@@ -202,6 +202,11 @@ $mapWidth: 2500px ;
color: $gray-light;
display: none; // triggered by JS
}
// overwrites "xEditable" style for empty values
.editable-empty{
font-style: normal;
}
}
// ========================================================================