From b8dc7fdfa3727f204bddd7af56859995709ffb89 Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Sat, 19 Jul 2008 16:59:33 +0000 Subject: [PATCH] themes: Fixed title-tag in case we don't serve a dispatched node --- themes/fledermaus/luasrc/view/themes/fledermaus/header.htm | 2 +- themes/openwrt.org/luasrc/view/themes/openwrt.org/header.htm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/themes/fledermaus/luasrc/view/themes/fledermaus/header.htm b/themes/fledermaus/luasrc/view/themes/fledermaus/header.htm index 76b0a3da0..5abe5d4ee 100644 --- a/themes/fledermaus/luasrc/view/themes/fledermaus/header.htm +++ b/themes/fledermaus/luasrc/view/themes/fledermaus/header.htm @@ -41,7 +41,7 @@ require("luci.http").prepare_content("text/html") <% if node and node.css then %><% end %> - <%=hostname%> - <%=(node and node.title)%> - LuCI + <%= hostname .. ( (node and node.title) and ' - ' .. node.title or '') %> - LuCI