mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-23 17:27:19 +00:00
Rename github edit to feedback (#16493)
This commit is contained in:
parent
db2a9a4a5a
commit
2a5fc2a062
@ -1,21 +0,0 @@
|
||||
{% if page.hide_github_edit != true %}
|
||||
<div class="material-card text feedback">
|
||||
<b>Help us to improve our documentation</b><br />
|
||||
Suggest an edit to this page, or provide/view feedback for this page.
|
||||
<div class="links">
|
||||
<a
|
||||
href="{{ site.netlify.repository_url }}/tree/{{ site.netlify.head }}/source/{{ page.path }}" target="_blank"
|
||||
><i class="icon-edit" /> Edit</a
|
||||
>
|
||||
<a
|
||||
href="{{ site.netlify.repository_url }}/issues/new?template=feedback.yml&url={{ site.netlify.url | url_encode }}{{ page.url | url_encode }}&version={{ site.current_major_version }}.{{
|
||||
site.current_minor_version }}.{{ site.current_patch_version }}&labels={{ site.netlify.branch }}" target="_blank"
|
||||
><i class="icon-comment" /> Provide feedback</a
|
||||
>
|
||||
<a
|
||||
href="{{ site.netlify.repository_url }}/issues?utf8=%E2%9C%93&q=%22{{ site.netlify.url | url_encode }}{{ page.url | url_encode }}%22&in=body" target="_blank"
|
||||
><i class="icon-comments" /> View pending feedback</a
|
||||
>
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
38
source/_includes/feedback.html
Normal file
38
source/_includes/feedback.html
Normal file
@ -0,0 +1,38 @@
|
||||
{% unless page.feedback == false %}
|
||||
<div class="material-card text feedback">
|
||||
<b>Help us to improve our documentation</b><br />
|
||||
Suggest an edit to this page, or provide/view feedback for this page.
|
||||
<div class="links">
|
||||
<a
|
||||
href="{{ site.netlify.repository_url }}/tree/{{ site.netlify.head }}/source/{{ page.path }}"
|
||||
target="_blank"
|
||||
><i class="icon-edit" /> Edit</a
|
||||
>
|
||||
{% if page.ha_domain %}
|
||||
<a
|
||||
href="{{ site.netlify.repository_url }}/issues/new?template=feedback.yml&url={{ site.netlify.url | url_encode }}{{ page.url | url_encode }}&version={{ site.current_major_version }}.{{
|
||||
site.current_minor_version }}.{{ site.current_patch_version }}&labels={{ site.netlify.branch }},integration%3A%20{{ page.ha_domain }}"
|
||||
target="_blank"
|
||||
><i class="icon-comment" /> Provide feedback</a
|
||||
>
|
||||
<a
|
||||
href="{{ site.netlify.repository_url }}/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc+label%3A%22integration%3A+{{ page.ha_domain }}%22"
|
||||
target="_blank"
|
||||
><i class="icon-comments" /> View pending feedback</a
|
||||
>
|
||||
{% else %}
|
||||
<a
|
||||
href="{{ site.netlify.repository_url }}/issues/new?template=feedback.yml&url={{ site.netlify.url | url_encode }}{{ page.url | url_encode }}&version={{ site.current_major_version }}.{{
|
||||
site.current_minor_version }}.{{ site.current_patch_version }}&labels={{ site.netlify.branch }}"
|
||||
target="_blank"
|
||||
><i class="icon-comment" /> Provide feedback</a
|
||||
>
|
||||
<a
|
||||
href="{{ site.netlify.repository_url }}/issues?utf8=%E2%9C%93&q=%22{{ page.url | url_encode }}%22&in=body"
|
||||
target="_blank"
|
||||
><i class="icon-comments" /> View pending feedback</a
|
||||
>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
{% endunless %}
|
@ -13,6 +13,6 @@ layout: default
|
||||
<hr class="divider" />
|
||||
{% endif %}
|
||||
{{ content }}
|
||||
|
||||
{% include edit_github.html %}
|
||||
|
||||
{% include feedback.html %}
|
||||
</article>
|
||||
|
@ -3,7 +3,7 @@ title: "Home Assistant Blue!"
|
||||
description: "Where style and performance meet privacy"
|
||||
sidebar: false
|
||||
is_homepage: true
|
||||
hide_github_edit: true
|
||||
feedback: false
|
||||
body_id: blue
|
||||
show_title: false
|
||||
og_image: /images/blue/blue_hero.jpg
|
||||
|
@ -1,8 +1,7 @@
|
||||
---
|
||||
title: Home Assistant Conference 2020
|
||||
show_title: false
|
||||
# is_homepage: true
|
||||
hide_github_edit: true
|
||||
feedback: false
|
||||
description: December 13, 2020 we will host the first online Home Assistant Conference.
|
||||
og_image: /images/conference/social.png
|
||||
---
|
||||
|
@ -3,7 +3,7 @@ title: "Cookbook"
|
||||
description: "Community maintained list of different ways to use Home Assistant."
|
||||
sidebar: false
|
||||
regenerate: true
|
||||
hide_github_edit: true
|
||||
feedback: false
|
||||
---
|
||||
|
||||
This is a community curated list of different ways to use Home Assistant. Most
|
||||
|
@ -1,6 +1,7 @@
|
||||
---
|
||||
title: "Documentation"
|
||||
description: "Documentation for Home Assistant"
|
||||
feedback: false
|
||||
---
|
||||
|
||||
The documentation covers beginner to advanced topics around the installation, setup, configuration, and usage of Home Assistant.
|
||||
|
@ -2,7 +2,7 @@
|
||||
title: "FAQ"
|
||||
description: "Home Assistant's FAQ"
|
||||
regenerate: true
|
||||
hide_github_edit: true
|
||||
feedback: false
|
||||
---
|
||||
|
||||
This is a community curated list of frequently asked questions (FAQ) about the installation, setup, and usage of Home Assistant. If you want to get details about a term, please check the [glossary](/docs/glossary/).
|
||||
@ -23,4 +23,3 @@ This is a community curated list of frequently asked questions (FAQ) about the i
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% endfor %}
|
||||
|
||||
|
@ -4,7 +4,7 @@ sidebar: false
|
||||
hero_unit: true
|
||||
is_homepage: true
|
||||
regenerate: true
|
||||
hide_github_edit: true
|
||||
feedback: false
|
||||
description:
|
||||
Open source home automation that puts local control and privacy first.
|
||||
---
|
||||
|
@ -3,7 +3,7 @@ title: "Integrations"
|
||||
description: "List of the built-in integrations of Home Assistant."
|
||||
sidebar: false
|
||||
is_homepage: true
|
||||
hide_github_edit: true
|
||||
feedback: false
|
||||
body_id: components-page
|
||||
regenerate: false
|
||||
---
|
||||
|
Loading…
x
Reference in New Issue
Block a user