Fixed issue 35 where device configuration params was not showing

This commit is contained in:
Ziver Koc 2016-08-30 17:15:00 +02:00
parent b21a28e3a4
commit 6839ad1a53
2 changed files with 4 additions and 4 deletions

View file

@ -19,12 +19,12 @@
<th class="text-right">Owner:</th>
<td>{{event.getUser().getUsername()}} <p></td>
</tr>
{{#event.getDeviceConfig().getConfiguration()}}
{{#event.getDeviceConfigurator().getConfiguration()}}
<tr>
<th class="text-right">{{.getNiceName()}}:</th>
<td>{{.getString()}}</td>
</tr>
{{/event.getDeviceConfig().getConfiguration()}}
{{/event.getDeviceConfigurator().getConfiguration()}}
</table>
</div>
</div>

View file

@ -54,12 +54,12 @@
<th class="text-right">Owner:</th>
<td>{{sensor.getUser().getUsername()}} <p></td>
</tr>
{{#sensor.getDeviceConfig().getConfiguration()}}
{{#sensor.getDeviceConfigurator().getConfiguration()}}
<tr>
<th class="text-right">{{.getNiceName()}}:</th>
<td>{{.getString()}}</td>
</tr>
{{/sensor.getDeviceConfig().getConfiguration()}}
{{/sensor.getDeviceConfigurator().getConfiguration()}}
</table>
</div>
</div>