From: Steven Barth Date: Sat, 19 Jul 2008 16:59:33 +0000 (+0000) Subject: themes: Fixed title-tag in case we don't serve a dispatched node X-Git-Tag: 0.8.0~603 X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fluci.git;a=commitdiff_plain;h=b8dc7fdfa3727f204bddd7af56859995709ffb89 themes: Fixed title-tag in case we don't serve a dispatched node --- 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