luci-mod-status: Add Target Platform (e.g. ath79/ipq806x/etc)
authorPaul Dee <systemcrash@users.noreply.github.com>
Mon, 6 Sep 2021 15:31:51 +0000 (17:31 +0200)
committerJo-Philipp Wich <jo@mein.io>
Tue, 15 Feb 2022 23:49:44 +0000 (00:49 +0100)
revealed under:
ubus call system board
board.release.target

Useful reminder for what to download

Signed-off-by: Paul Dee <systemcrash@users.noreply.github.com>
(cherry picked from commit 2890d1842a8538e093de3b1814ef26f308385c07)

modules/luci-mod-status/htdocs/luci-static/resources/view/status/include/10_system.js

index ea8f2bb2394c1b3aa3d58c6de8f19f2a7354dffb..ae7efa3e75c29832d11248b3421cc4aacda47a11 100644 (file)
@@ -54,6 +54,7 @@ return baseclass.extend({
                        _('Hostname'),         boardinfo.hostname,
                        _('Model'),            boardinfo.model,
                        _('Architecture'),     boardinfo.system,
+                       _('Target Platform'),  (L.isObject(boardinfo.release) ? boardinfo.release.target : ''),
                        _('Firmware Version'), (L.isObject(boardinfo.release) ? boardinfo.release.description + ' / ' : '') + (luciversion || ''),
                        _('Kernel Version'),   boardinfo.kernel,
                        _('Local Time'),       datestr,