summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-mod-status/htdocs/luci-static/resources/view/status
diff options
context:
space:
mode:
authorPaul Dee <systemcrash@users.noreply.github.com>2021-09-06 17:31:51 +0200
committerPaul Spooren <mail@aparcar.org>2021-09-20 11:08:21 -1000
commit2890d1842a8538e093de3b1814ef26f308385c07 (patch)
tree7ef1fbcd964d197e83a96dacfa50ad73ee0fb490 /modules/luci-mod-status/htdocs/luci-static/resources/view/status
parentfe7e013fffcb1a89f09f1d649a43c288e6a70de1 (diff)
luci-mod-status: Add Target Platform (e.g. ath79/ipq806x/etc)
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>
Diffstat (limited to 'modules/luci-mod-status/htdocs/luci-static/resources/view/status')
-rw-r--r--modules/luci-mod-status/htdocs/luci-static/resources/view/status/include/10_system.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/luci-mod-status/htdocs/luci-static/resources/view/status/include/10_system.js b/modules/luci-mod-status/htdocs/luci-static/resources/view/status/include/10_system.js
index ea8f2bb239..ae7efa3e75 100644
--- a/modules/luci-mod-status/htdocs/luci-static/resources/view/status/include/10_system.js
+++ b/modules/luci-mod-status/htdocs/luci-static/resources/view/status/include/10_system.js
@@ -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,