add target="_blank" to match all other links on page (#3154)

* add target="_blank" to match all other links on page

* adds target="_blank" to ensure link opens in new tab

* adds target="_blank" to ensure link opens in new tab

* attempting to fix travis error

* resolve prettier errors hopefully

* Update ha-automation-picker.js

* Update ha-automation-picker.js

* Lint

* Lint
This commit is contained in:
Sean Mooney 2019-05-03 12:37:06 -04:00 committed by Paulus Schoutsen
parent 81088e0d07
commit adb92e1708
3 changed files with 17 additions and 5 deletions

View File

@ -82,7 +82,10 @@ class HaAutomationPicker extends LocalizeMixin(NavigateMixin(PolymerElement)) {
<div slot="introduction">
[[localize('ui.panel.config.automation.picker.introduction')]]
<p>
<a href="https://home-assistant.io/docs/automation/editor/">
<a
href="https://home-assistant.io/docs/automation/editor/"
target="_blank"
>
[[localize('ui.panel.config.automation.picker.learn_more')]]
</a>
</p>

View File

@ -72,7 +72,10 @@ export default class Automation extends Component {
"ui.panel.config.automation.editor.triggers.introduction"
)}
</p>
<a href="https://home-assistant.io/docs/automation/trigger/">
<a
href="https://home-assistant.io/docs/automation/trigger/"
target="_blank"
>
{localize(
"ui.panel.config.automation.editor.triggers.learn_more"
)}
@ -96,7 +99,10 @@ export default class Automation extends Component {
"ui.panel.config.automation.editor.conditions.introduction"
)}
</p>
<a href="https://home-assistant.io/docs/scripts/conditions/">
<a
href="https://home-assistant.io/docs/scripts/conditions/"
target="_blank"
>
{localize(
"ui.panel.config.automation.editor.conditions.learn_more"
)}
@ -120,7 +126,10 @@ export default class Automation extends Component {
"ui.panel.config.automation.editor.actions.introduction"
)}
</p>
<a href="https://home-assistant.io/docs/automation/action/">
<a
href="https://home-assistant.io/docs/automation/action/"
target="_blank"
>
{localize("ui.panel.config.automation.editor.actions.learn_more")}
</a>
</span>

View File

@ -64,7 +64,7 @@ class HaPanelDevInfo extends LitElement {
<div class="content">
<div class="about">
<p class="version">
<a href="https://www.home-assistant.io"
<a href="https://www.home-assistant.io" target="_blank"
><img src="/static/icons/favicon-192x192.png" height="192"/></a
><br />
Home Assistant<br />