From cd02438797d2104094bd67be071d37f205966ac6 Mon Sep 17 00:00:00 2001 From: kiddin9 <48883331+kiddin9@users.noreply.github.com> Date: Mon, 5 Oct 2026 01:57:46 +0800 Subject: [PATCH] Create vantage.patch --- .github/diy/patches/vantage.patch | 73 +++++++++++++++++++++++++++++++ 1 file changed, 73 insertions(+) create mode 100644 .github/diy/patches/vantage.patch diff --git a/.github/diy/patches/vantage.patch b/.github/diy/patches/vantage.patch new file mode 100644 index 000000000..63eea27a8 --- /dev/null +++ b/.github/diy/patches/vantage.patch @@ -0,0 +1,73 @@ +--- a/luci-theme-vantage/ucode/template/themes/vantage/header.ut ++++ b/luci-theme-vantage/ucode/template/themes/vantage/header.ut +--- 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 @@ +