mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-19 15:26:36 +00:00
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:
parent
81088e0d07
commit
adb92e1708
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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 />
|
||||
|
Loading…
x
Reference in New Issue
Block a user