Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change info links #166

Merged
merged 3 commits into from
Sep 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions src/localize/languages/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,8 @@
"info_project_file": "ETS Projektdatei",
"info_project_delete": "Projektdaten löschen",
"info_project_upload_description": "Wir extrahieren Details wie Namen, Gruppenadressen, Geräte, Gruppenobjekte, Topologie und Gebäudestruktur aus deiner Projektdatei. Home Assistant speichert jedoch aus Sicherheitsgründen weder die Projektdatei selbst, noch das optionale Passwort.",
"info_issue_tracker": "Problemmeldungen und Feature-Requests für",
"info_issue_tracker_knx_frontend": "das KNX Frontend Panel",
"info_issue_tracker_xknxproject": "das Auslesen der Projektdaten",
"info_issue_tracker_xknx": "die KNX Verbindung oder DPT Dekodierung",
"info_issue_tracker": "Wenn du einen Fehler melden oder eine neue Funktion vorschlagen möchtest, erstelle ein Issue in unserem GitHub-Repository",
"info_my_knx": "Wenn du mehr über das KNX System oder ETS erfahren möchtest, besuche",
"group_monitor_title": "Gruppenmonitor",
"group_monitor_time": "Zeit",
"group_monitor_direction": "Richtung",
Expand Down
6 changes: 2 additions & 4 deletions src/localize/languages/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,8 @@
"info_project_file": "ETS Project file",
"info_project_delete": "Delete project data",
"info_project_upload_description": "We extract details such as names, group addresses, devices, group objects, topology, and building structure from your project file. Home Assistant does not store the ETS project file itself nor its optional password for security reasons.",
"info_issue_tracker": "Found an issue or feature request for",
"info_issue_tracker_knx_frontend": "the KNX frontend panel",
"info_issue_tracker_xknxproject": "project data parsing",
"info_issue_tracker_xknx": "KNX connection or DPT decoding",
"info_issue_tracker": "If you'd like to report a bug or suggest a new feature, create an issue in our GitHub repository",
"info_my_knx": "If you'd like to learn more about the KNX system or ETS, visit",
"entities_view_title": "Entities",
"group_monitor_title": "Group Monitor",
"group_monitor_time": "Time",
Expand Down
31 changes: 9 additions & 22 deletions src/views/info.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,25 +106,13 @@ export class KNXInfo extends LitElement {
</div>

<div class="knx-bug-report">
<div>${this.knx.localize("info_issue_tracker")}</div>
<ul>
<li>
<a href="https://github.com/XKNX/knx-frontend/issues" target="_blank"
>${this.knx.localize("info_issue_tracker_knx_frontend")}</a
>
</li>
<li>
<a href="https://github.com/XKNX/xknxproject/issues" target="_blank"
>${this.knx.localize("info_issue_tracker_xknxproject")}</a
>
</li>
<li>
<a href="https://github.com/XKNX/xknx/issues" target="_blank"
>${this.knx.localize("info_issue_tracker_xknx")}</a
>
</li>
</ul>
${this.knx.localize("info_issue_tracker")}
<a href="https://github.com/XKNX/knx-integration" target="_blank">xknx/knx-integration</a>
</div>

<div class="knx-bug-report">
${this.knx.localize("info_my_knx")}
<a href="https://my.knx.org" target="_blank">my.knx.org</a>
</div>
</ha-card>`;
}
Expand Down Expand Up @@ -360,11 +348,10 @@ export class KNXInfo extends LitElement {

.knx-bug-report {
margin-top: 20px;
}

.knx-bug-report > ul > li > a {
text-decoration: none;
farmio marked this conversation as resolved.
Show resolved Hide resolved
color: var(--mdc-theme-primary);
a {
text-decoration: none;
}
}

.header {
Expand Down