Change more-info-dialog name to ha-more-info-dialog (#986)

* change more-info name to ha-more-info-dialog (like other dialogs)

* rename element

* fix closing tag
This commit is contained in:
NovapaX 2018-03-12 20:34:51 +01:00 committed by Paulus Schoutsen
parent 198e2dd11f
commit 2c79094fb4
2 changed files with 6 additions and 6 deletions

View File

@ -10,7 +10,7 @@
<link rel='import' href='./more-info/more-info-controls.html'>
<link rel='import' href='./more-info/more-info-settings.html'>
<dom-module id="more-info-dialog">
<dom-module id="ha-more-info-dialog">
<template>
<style include="ha-style-dialog">
paper-dialog {
@ -77,8 +77,8 @@
</dom-module>
<script>
class MoreInfoDialog extends window.hassMixins.EventsMixin(Polymer.Element) {
static get is() { return 'more-info-dialog'; }
class HaMoreInfoDialog extends window.hassMixins.EventsMixin(Polymer.Element) {
static get is() { return 'ha-more-info-dialog'; }
static get properties() {
return {
hass: Object,
@ -155,5 +155,5 @@ class MoreInfoDialog extends window.hassMixins.EventsMixin(Polymer.Element) {
return a === b;
}
}
customElements.define(MoreInfoDialog.is, MoreInfoDialog);
customElements.define(HaMoreInfoDialog.is, HaMoreInfoDialog);
</script>

View File

@ -7,7 +7,7 @@
<link rel='import' href='../layouts/partial-cards.html'>
<link rel='import' href='../layouts/partial-panel-resolver.html'>
<link rel="import" href="../dialogs/more-info-dialog.html">
<link rel="import" href="../dialogs/ha-more-info-dialog.html">
<link rel="import" href="../dialogs/ha-voice-command-dialog.html">
<link rel='import' href='../util/ha-url-sync.html'>
@ -31,7 +31,7 @@
height: 100%;
}
</style>
<more-info-dialog hass='[[hass]]'></more-info-dialog>
<ha-more-info-dialog hass='[[hass]]'></ha-more-info-dialog>
<ha-url-sync hass='[[hass]]'></ha-url-sync>
<app-route
route="{{route}}"