diff --git a/themes/luci-theme-bootstrap/ucode/template/themes/bootstrap/header.ut b/themes/luci-theme-bootstrap/ucode/template/themes/bootstrap/header.ut index 9e5e3a2381..85216214e9 100644 --- a/themes/luci-theme-bootstrap/ucode/template/themes/bootstrap/header.ut +++ b/themes/luci-theme-bootstrap/ucode/template/themes/bootstrap/header.ut @@ -18,7 +18,7 @@ - {{ striptags(`${boardinfo.hostname ?? '?'}${node ? ` - ${node.title}` : ''}`) }} - LuCI + {{ striptags(`${dispatched ? `${dispatched.title} | ` : ''}${boardinfo.hostname ?? '?'}`) }} | LuCI {% if (!darkpref): %} -{{ hostname }}{{ node?.title ? ` - ${striptags(node.title)}` : '' }} - LuCI +{{ striptags(`${dispatched ? `${dispatched.title} | ` : ''}${boardinfo.hostname ?? '?'}`) }} | LuCI {% if (css): %} {% endif %} @@ -58,7 +57,7 @@
- {{ hostname }} + {{ striptags(`${boardinfo.hostname ?? '?'}`) }}
diff --git a/themes/luci-theme-openwrt-2020/ucode/template/themes/openwrt2020/header.ut b/themes/luci-theme-openwrt-2020/ucode/template/themes/openwrt2020/header.ut index 56443bd9cb..25a1719eea 100644 --- a/themes/luci-theme-openwrt-2020/ucode/template/themes/openwrt2020/header.ut +++ b/themes/luci-theme-openwrt-2020/ucode/template/themes/openwrt2020/header.ut @@ -22,7 +22,7 @@ -{{ striptags(`${boardinfo.hostname ?? '?'}${node ? ` - ${node.title}` : ''}`) }} - LuCI +{{ striptags(`${dispatched ? `${dispatched.title} | ` : ''}${boardinfo.hostname ?? '?'}`) }} | LuCI {% if (css): %} {% endif %} diff --git a/themes/luci-theme-openwrt/ucode/template/themes/openwrt.org/header.ut b/themes/luci-theme-openwrt/ucode/template/themes/openwrt.org/header.ut index b7a6abae68..a1773aa62e 100644 --- a/themes/luci-theme-openwrt/ucode/template/themes/openwrt.org/header.ut +++ b/themes/luci-theme-openwrt/ucode/template/themes/openwrt.org/header.ut @@ -28,7 +28,7 @@ -{{ striptags(`${boardinfo.hostname ?? '?'}${node ? ` - ${_(node.title)}` : ''}`) }} - LuCI +{{ striptags(`${dispatched ? `${dispatched.title} | ` : ''}${boardinfo.hostname ?? '?'}`) }} | LuCI