diff --git a/luci-theme-vantage/Makefile b/luci-theme-vantage/Makefile index d077e3583..aa33688e3 100644 --- a/luci-theme-vantage/Makefile +++ b/luci-theme-vantage/Makefile @@ -11,7 +11,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=luci-theme-vantage PKG_VERSION:=1.0.1 -PKG_RELEASE:=2 +PKG_RELEASE:=3 PKG_LICENSE:=GPL-3.0-or-later LUCI_TITLE:=Vantage theme diff --git a/luci-theme-vantage/ucode/template/themes/vantage/header.ut b/luci-theme-vantage/ucode/template/themes/vantage/header.ut index 0234ca02e..4b74ca971 100644 --- a/luci-theme-vantage/ucode/template/themes/vantage/header.ut +++ b/luci-theme-vantage/ucode/template/themes/vantage/header.ut @@ -12,6 +12,8 @@ const authed = !!ctx.authsession; const page_title = (authed && dispatched?.title) ? striptags(_(dispatched.title)) : 'LuCI'; const lang = entityencode(dispatcher.lang ?? 'en', true); + const boardinfo = ubus.call("system", "board"); + const hostname = striptags(boardinfo?.hostname ?? '?'); -%} @@ -22,8 +24,8 @@