summaryrefslogtreecommitdiffhomepage
path: root/themes/fledermaus
diff options
context:
space:
mode:
Diffstat (limited to 'themes/fledermaus')
-rw-r--r--themes/fledermaus/luasrc/view/themes/fledermaus/header.htm10
1 files changed, 4 insertions, 6 deletions
diff --git a/themes/fledermaus/luasrc/view/themes/fledermaus/header.htm b/themes/fledermaus/luasrc/view/themes/fledermaus/header.htm
index 5abe5d4ee..30aa57d86 100644
--- a/themes/fledermaus/luasrc/view/themes/fledermaus/header.htm
+++ b/themes/fledermaus/luasrc/view/themes/fledermaus/header.htm
@@ -146,15 +146,13 @@ end
end
%>
<div><%:config%>
- <ul>
<% if ucic > 0 then %>
- <li><a href="<%=controller%>/admin/uci/changes"><%:changes%>: <%=ucic%></a></li>
- <li><a href="<%=controller%>/admin/uci/apply"><%:apply%></a></li>
- <li><a href="<%=controller%>/admin/uci/revert"><%:revert%></a></li>
+ <% submenu(category .. "/uci/", tree.nodes[category].nodes["uci"]) -%>
<% else %>
- <li><%:changes%>: 0</li>
+ <ul>
+ <li><%:changes%>: 0</li>
+ </ul>
<% end %>
- </ul>
</div>
<% end %>
</div>