X-Git-Url: http://git.archive.openwrt.org/?a=blobdiff_plain;ds=sidebyside;f=themes%2Fluci-theme-openwrt%2Fluasrc%2Fview%2Fthemes%2Fopenwrt.org%2Fheader.htm;h=a560014d379bb7fae8f2e40d376823346b4bdfba;hb=8656ab726d4aba08164f8ed7a242830c12239be3;hp=ae348f38561e9929582a33d36a0ac411255a3f9c;hpb=9779d5395c7e653aac32c173c49e27e5777a2c1d;p=project%2Fluci.git diff --git a/themes/luci-theme-openwrt/luasrc/view/themes/openwrt.org/header.htm b/themes/luci-theme-openwrt/luasrc/view/themes/openwrt.org/header.htm index ae348f385..a560014d3 100644 --- a/themes/luci-theme-openwrt/luasrc/view/themes/openwrt.org/header.htm +++ b/themes/luci-theme-openwrt/luasrc/view/themes/openwrt.org/header.htm @@ -99,22 +99,14 @@ end end - write('
') - if ucic > 0 then - write('%s: %d' %{ + write('
%s: %d
' %{ url(category, 'uci/changes'), - http.urlencode(http.formvalue('redir') or REQUEST_URI), + http.urlencode(http.formvalue('redir') or table.concat(disp.context.request, "/")), translate('Unsaved Changes'), ucic }) - else - write('%s: 0' %{ - translate('Unsaved Changes') - }) end - - write('
') end end -%>