diff options
author | Dirk Brenken <dev@brenken.org> | 2021-04-14 14:12:06 +0200 |
---|---|---|
committer | Dirk Brenken <dev@brenken.org> | 2021-04-15 19:52:52 +0200 |
commit | 8c6a29a45cba64724bd726e52719eabbfa8528a6 (patch) | |
tree | 8c289da9aaf9eac3a3d707ea435807cdf56b54a4 /modules/luci-mod-system/htdocs/luci-static/resources/view | |
parent | 2617fcdc631d0b504abdb27bb17d44f26c230cda (diff) |
luci-mod-system: remove bogus btn class in flash.js
* fixes #4970
* sync translations
Signed-off-by: Dirk Brenken <dev@brenken.org>
Diffstat (limited to 'modules/luci-mod-system/htdocs/luci-static/resources/view')
-rw-r--r-- | modules/luci-mod-system/htdocs/luci-static/resources/view/system/flash.js | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/modules/luci-mod-system/htdocs/luci-static/resources/view/system/flash.js b/modules/luci-mod-system/htdocs/luci-static/resources/view/system/flash.js index 6ab18a3d32..1207fc63b5 100644 --- a/modules/luci-mod-system/htdocs/luci-static/resources/view/system/flash.js +++ b/modules/luci-mod-system/htdocs/luci-static/resources/view/system/flash.js @@ -251,11 +251,9 @@ return view.extend({ if ((!is_valid || is_too_big) && is_forceable) - body.push(E('p', {}, E('label', { 'class': 'btn alert-message danger' }, [ - force, ' ', _('Force upgrade'), - E('br'), E('br'), - _('Select \'Force upgrade\' to flash the image even if the image format check fails. Use only if you are sure that the firmware is correct and meant for your device!') - ]))); + body.push(E('p', { 'class': 'alert-message danger' }, [ + force, ' ', _('Force upgrade: Select \'Force upgrade\' to flash the image even if the image format check fails. Use only if you are sure that the firmware is correct and meant for your device!') + ])); var cntbtn = E('button', { 'class': 'btn cbi-button-action important', |