Removed debug from configuration.html

fixed "publish on creation" switch
This commit is contained in:
Adolfo Gómez García 2014-11-27 18:38:33 +01:00
parent 500347d878
commit b3e2d2264a
3 changed files with 4 additions and 3 deletions

View File

@ -124,7 +124,7 @@ class OVirtLinkedDeployment(UserDeployment):
:note: This IP is the IP of the "consumed service", so the transport can
access it.
'''
logger.debug('Setting IP to %s' % ip)
logger.debug('Setting IP to {}'.format(ip))
self._ip = ip
def getUniqueId(self):

View File

@ -59,7 +59,9 @@ gui.servicesPools.link = (event) ->
$cacheL2Fld.prop "disabled", "disabled"
else
$cacheL2Fld.prop "disabled", false
$publishOnSaveFld.bootstrapSwitch "toggleReadonly", data.info.needs_publication
gui.doLog "Needs publication?", data.info.needs_publication, $publishOnSaveFld
if $publishOnSaveFld.bootstrapSwitch("readonly") is data.info.needs_publication
$publishOnSaveFld.bootstrapSwitch "toggleReadonly", true
$osmFld.selectpicker "refresh" if $osmFld.hasClass("selectpicker")
return

View File

@ -44,7 +44,6 @@
<input type="password" class="form-control config-ctrl" data-section="{{ cfg_section }}" data-key="{{ cfg_key }}" value="€fa{}#42123~#||23|ßðđæ">
</div>
{{ else }}
{{ value.type }}
{{# ifequals value.type 1 }}
<textarea class="form-control" data-section="{{ cfg_section }}" data-key="{{ cfg_key }}" rows="3">{{ value.value }}</textarea>
{{ else }}