From 584f0a57b7eb7168369b428dc06e10572d7a5681 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 5 Oct 2026 01:59:58 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=A6=84=20Sync=202026-10-05=2001:59:58?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- luci-theme-vantage/Makefile | 2 +- .../ucode/template/themes/vantage/header.ut | 17 +++++++++++++---- .../ucode/template/themes/vantage/sysauth.ut | 13 +++++++++++-- wwand/Makefile | 6 +++--- 4 files changed, 28 insertions(+), 10 deletions(-) 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 @@ {{ entityencode(page_title, true) }} ยท LuCI