X-Git-Url: https://git.archive.openwrt.org/?a=blobdiff_plain;f=themes%2Fluci-theme-bootstrap%2Fluasrc%2Fview%2Fthemes%2Fbootstrap%2Fheader.htm;h=4881535acb271a30b75d6746e3ff5e473c2427e0;hb=8656ab726d4aba08164f8ed7a242830c12239be3;hp=6f09bfcdfa1042a8ae1dce2954fc7443b9ab4da9;hpb=c44f04952bd258658a22b23327638ccb0cfcfc07;p=project%2Fluci.git diff --git a/themes/luci-theme-bootstrap/luasrc/view/themes/bootstrap/header.htm b/themes/luci-theme-bootstrap/luasrc/view/themes/bootstrap/header.htm index 6f09bfcdf..4881535ac 100644 --- a/themes/luci-theme-bootstrap/luasrc/view/themes/bootstrap/header.htm +++ b/themes/luci-theme-bootstrap/luasrc/view/themes/bootstrap/header.htm @@ -145,9 +145,9 @@ end if ucichanges > 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'), ucichanges }) @@ -201,5 +201,12 @@ <%- end -%> + +
<% if category then render_tabmenu(category, cattree) end %>