mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-15 04:15:32 +03:00
Removed release notes from firmware flasher (#3083)
Co-authored-by: J Blackman <blckmn@users.noreply.github.com>
This commit is contained in:
parent
4df7f5b9fb
commit
46f0bb3885
3 changed files with 1 additions and 18 deletions
|
@ -151,9 +151,6 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.notes {
|
|
||||||
padding: 5px;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
.git_info {
|
.git_info {
|
||||||
display: none;
|
display: none;
|
||||||
|
|
|
@ -73,16 +73,6 @@ firmware_flasher.initialize = function (callback) {
|
||||||
$('div.release_info #cloudTargetInfo').hide();
|
$('div.release_info #cloudTargetInfo').hide();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (summary.notes) {
|
|
||||||
let formattedNotes = summary.notes.replace(/#(\d+)/g, '[#$1](https://github.com/betaflight/betaflight/pull/$1)');
|
|
||||||
formattedNotes = marked.parse(formattedNotes);
|
|
||||||
formattedNotes = DOMPurify.sanitize(formattedNotes);
|
|
||||||
$('div.release_info .notes').html(formattedNotes);
|
|
||||||
GUI.addLinksTargetBlank($('div.release_info .notes'));
|
|
||||||
} else {
|
|
||||||
$('div.release_info .notes').html('Release notes unavailable.');
|
|
||||||
}
|
|
||||||
|
|
||||||
if (self.targets) {
|
if (self.targets) {
|
||||||
$('div.release_info').slideDown();
|
$('div.release_info').slideDown();
|
||||||
$('.tab-firmware_flasher .content_wrapper').animate({ scrollTop: $('div.release_info').position().top }, 1000);
|
$('.tab-firmware_flasher .content_wrapper').animate({ scrollTop: $('div.release_info').position().top }, 1000);
|
||||||
|
|
|
@ -239,7 +239,7 @@
|
||||||
<span class="configFilename"></span>
|
<span class="configFilename"></span>
|
||||||
<br />
|
<br />
|
||||||
</div>
|
</div>
|
||||||
<div class="margin-bottom" id="cloudTargetInfo">
|
<div id="cloudTargetInfo">
|
||||||
<strong i18n="firmwareFlasherCloudBuildDetails"></strong>
|
<strong i18n="firmwareFlasherCloudBuildDetails"></strong>
|
||||||
<a i18n_title="firmwareFlasherCloudBuildLogUrl" id="cloudTargetLog" href="#" target="_blank"></a>
|
<a i18n_title="firmwareFlasherCloudBuildLogUrl" id="cloudTargetLog" href="#" target="_blank"></a>
|
||||||
<br />
|
<br />
|
||||||
|
@ -248,10 +248,6 @@
|
||||||
<span id="cloudTargetStatus"></span>
|
<span id="cloudTargetStatus"></span>
|
||||||
<br />
|
<br />
|
||||||
</div>
|
</div>
|
||||||
<div class="margin-bottom">
|
|
||||||
<strong i18n="firmwareFlasherReleaseNotes"></strong>
|
|
||||||
<div class=notes></div>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue