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:
parent
3a6ea29147
commit
1301f97a4f
3 changed files with 15 additions and 25 deletions
|
@ -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('');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue