1
0
Fork 0
mirror of https://github.com/betaflight/betaflight-configurator.git synced 2025-07-24 16:55:24 +03:00

Show wiki to target, ie. Board---FRSKYF4 (#3187)

This commit is contained in:
HThuren 2023-01-06 20:57:19 +01:00 committed by GitHub
parent 3a6ea29147
commit 1301f97a4f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 15 additions and 25 deletions

View file

@ -64,12 +64,22 @@ firmware_flasher.initialize = function (callback) {
} else {
$('div.release_info #manufacturerInfo').hide();
}
$('div.release_info .target').text(summary.target);
$('div.release_info .name').text(summary.release).prop('href', summary.releaseUrl);
$('div.release_info .date').text(summary.date);
$('div.release_info #targetMCU').text(summary.mcu);
$('div.release_info .configFilename').text(self.isConfigLocal ? self.configFilename : "[default]");
// Wiki link to url found in unified target configuration or if not defined to general wiki url
let targetWiki = $('#targetWikiInfoUrl');
targetWiki.html(`   [Wiki]`);
if (summary.wiki === undefined) {
targetWiki.attr("href", "https://github.com/betaflight/betaflight/wiki/");
} else {
targetWiki.attr("href", summary.wiki);
}
if (summary.cloudBuild) {
$('div.release_info #cloudTargetInfo').show();
$('div.release_info #cloudTargetLog').text('');