add link ability to configurator (#57)

* add link ability to configurator

* changed to 2 attributes instead of hash

* changed to 2 attributes instead of hash
This commit is contained in:
mnestor 2016-05-13 02:30:08 -04:00 committed by Paulus Schoutsen
parent 7e6d5e2ff7
commit a0a2299d1a

View File

@ -31,7 +31,9 @@
<div class='layout vertical'>
<template is='dom-if' if='[[isConfigurable]]'>
<p hidden$='[[!stateObj.attributes.description]]'>[[stateObj.attributes.description]]</p>
<p hidden$='[[!stateObj.attributes.description]]'>[[stateObj.attributes.description]]
<a hidden$='[[!stateObj.attributes.link_url]]' href='[[stateObj.attributes.link_url]]' target='_blank'>[[stateObj.attributes.link_name]]</a>
</p>
<p class='error' hidden$='[[!stateObj.attributes.errors]]'>[[stateObj.attributes.errors]]</p>