1
0
mirror of https://github.com/beestat/app.git synced 2025-07-09 03:04:07 -04:00

Made documentation URLs more robust

This commit is contained in:
Jon Ziebell 2020-02-08 14:09:32 -05:00
parent 74f0d09559
commit a6eb76b16d
9 changed files with 9 additions and 9 deletions

View File

@ -170,7 +170,7 @@ beestat.component.card.alerts.prototype.decorate_top_right_ = function(parent) {
.set_text('Help') .set_text('Help')
.set_icon('help_circle') .set_icon('help_circle')
.set_callback(function() { .set_callback(function() {
window.open('https://www.notion.so/Alerts-dd453829dc7c47019a775130c93bde0c'); window.open('https://doc.beestat.io/dd453829dc7c47019a775130c93bde0c');
}); });
menu.add_menu_item(menu_item_help); menu.add_menu_item(menu_item_help);
}; };

View File

@ -267,7 +267,7 @@ beestat.component.card.comparison_settings.prototype.decorate_top_right_ = funct
.set_text('Help') .set_text('Help')
.set_icon('help_circle') .set_icon('help_circle')
.set_callback(function() { .set_callback(function() {
window.open('https://www.notion.so/Comparison-Settings-596040eadd014928830b4d1d54692761'); window.open('https://doc.beestat.io/596040eadd014928830b4d1d54692761');
})); }));
}; };

View File

@ -211,6 +211,6 @@ beestat.component.card.my_home.prototype.decorate_top_right_ = function(parent)
.set_text('Help') .set_text('Help')
.set_icon('help_circle') .set_icon('help_circle')
.set_callback(function() { .set_callback(function() {
window.open('https://www.notion.so/My-Home-cc594772031e41a58ff38e04e66cf0ec'); window.open('https://doc.beestat.io/cc594772031e41a58ff38e04e66cf0ec');
})); }));
}; };

View File

@ -574,7 +574,7 @@ beestat.component.card.runtime_thermostat_summary.prototype.decorate_top_right_
.set_text('Help') .set_text('Help')
.set_icon('help_circle') .set_icon('help_circle')
.set_callback(function() { .set_callback(function() {
window.open('https://www.notion.so/Runtime-Summary-3225b739ebbc42d68a18260565fda4f1'); window.open('https://doc.beestat.io/3225b739ebbc42d68a18260565fda4f1');
})); }));
}; };

View File

@ -205,7 +205,7 @@ beestat.component.card.score.prototype.decorate_top_right_ = function(parent) {
.set_text('Help') .set_text('Help')
.set_icon('help_circle') .set_icon('help_circle')
.set_callback(function() { .set_callback(function() {
window.open('https://www.notion.so/Comparison-Scores-144d5dafbc6c43f7bc72341120717d8a'); window.open('https://doc.beestat.io/144d5dafbc6c43f7bc72341120717d8a');
})); }));
}; };

View File

@ -183,6 +183,6 @@ beestat.component.card.sensors.prototype.decorate_top_right_ = function(parent)
.set_text('Help') .set_text('Help')
.set_icon('help_circle') .set_icon('help_circle')
.set_callback(function() { .set_callback(function() {
window.open('https://www.notion.so/Sensors-d279d6fb4afc4f199409be2eb323140b'); window.open('https://doc.beestat.io/d279d6fb4afc4f199409be2eb323140b');
})); }));
}; };

View File

@ -369,7 +369,7 @@ beestat.component.card.system.prototype.decorate_top_right_ = function(parent) {
.set_text('Help') .set_text('Help')
.set_icon('help_circle') .set_icon('help_circle')
.set_callback(function() { .set_callback(function() {
window.open('https://www.notion.so/beestat/System-44b441bdd99b4c3991d6e0ace2dce893'); window.open('https://doc.beestat.io/System-44b441bdd99b4c3991d6e0ace2dce893');
})); }));
}; };

View File

@ -240,6 +240,6 @@ beestat.component.card.temperature_profiles.prototype.decorate_top_right_ = func
.set_text('Help') .set_text('Help')
.set_icon('help_circle') .set_icon('help_circle')
.set_callback(function() { .set_callback(function() {
window.open('https://www.notion.so/Temperature-Profiles-9c0fba6793dd4bc68f798c1516f0ea25'); window.open('https://doc.beestat.io/9c0fba6793dd4bc68f798c1516f0ea25');
})); }));
}; };

View File

@ -19,7 +19,7 @@ beestat.component.modal.enjoy_beestat.prototype.decorate_contents_ = function(pa
parent.appendChild($.createElement('p').innerText('Your Patreon account is connected but you\'re not currently a supporter. If you recently became a supporter it could take up to 24 hours to update.')); parent.appendChild($.createElement('p').innerText('Your Patreon account is connected but you\'re not currently a supporter. If you recently became a supporter it could take up to 24 hours to update.'));
} else { } else {
parent.appendChild($.createElement('p').innerHTML('Beestat is completely free to use and does not run ads or sell your data. If you want to help, <strong>consider supporting the project on <a href="https://patreon.com/beestat" target="_blank" class="inverted">Patreon</a></strong>. Among other benefits, it will hide this banner permanently.')); parent.appendChild($.createElement('p').innerHTML('Beestat is completely free to use and does not run ads or sell your data. If you want to help, <strong>consider supporting the project on <a href="https://patreon.com/beestat" target="_blank" class="inverted">Patreon</a></strong>. Among other benefits, it will hide this banner permanently.'));
parent.appendChild($.createElement('p').innerHTML('Not into Patreon or can\'t afford to give? <a href="https://www.notion.so/beestat/Support-Beestat-bf7f099eb8de486bad51aa6245c00891" target="_blank" class="inverted">Here are some other ways to help</a>.')); parent.appendChild($.createElement('p').innerHTML('Not into Patreon or can\'t afford to give? <a href="https://doc.beestat.io/bf7f099eb8de486bad51aa6245c00891" target="_blank" class="inverted">Here are some other ways to help</a>.'));
} }
}; };