Fix update instructions URL in frontend (#5076)
In the web GUI, I noticed that the update instructions URL in the update modal pointed to a non-existing page. This commit fixes the URL, so that it points to the correct document.
Joris Vervuurt committed
Dec 30, 2018 at 20:49 UTC
cc57c07cda6ef9d74407aa05dfe52ea0cc29235c
1 file changed
+1
-1
web/gui/main.js
+1
-1
@@ -2803,7 +2803,7 @@ function notifyForUpdate(force) {
2803
save = true;
2804
var compare = 'https://github.com/netdata/netdata/compare/' + sha1.toString() + '...' + sha2.toString();
2805
2806
- versionLog('<p><big><strong>New version of netdata available!</strong></big></p><p>Latest commit: <b><code>' + sha2.substring(0, 7).toString() + '</code></b></p><p><a href="' + compare + '" target="_blank">Click here for the changes log</a> since your installed version, and<br/><a href="https://github.com/netdata/netdata/tree/master/installer/UPDATE.md" target="_blank">click here for directions on updating</a> your netdata installation.</p><p>We suggest to review the changes log for new features you may be interested, or important bug fixes you may need.<br/>Keeping your netdata updated, is generally a good idea.</p>');
2806
+ versionLog('<p><big><strong>New version of netdata available!</strong></big></p><p>Latest commit: <b><code>' + sha2.substring(0, 7).toString() + '</code></b></p><p><a href="' + compare + '" target="_blank">Click here for the changes log</a> since your installed version, and<br/><a href="https://github.com/netdata/netdata/tree/master/packaging/installer/UPDATE.md" target="_blank">click here for directions on updating</a> your netdata installation.</p><p>We suggest to review the changes log for new features you may be interested, or important bug fixes you may need.<br/>Keeping your netdata updated, is generally a good idea.</p>');
2807
2808
document.getElementById('update_badge').innerHTML = '!';
2809
}