diff options
Diffstat (limited to 'modules/admin-full/luasrc/view/admin_uci/revert.htm')
-rw-r--r-- | modules/admin-full/luasrc/view/admin_uci/revert.htm | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/modules/admin-full/luasrc/view/admin_uci/revert.htm b/modules/admin-full/luasrc/view/admin_uci/revert.htm index 863cfda86..b0b3dabd9 100644 --- a/modules/admin-full/luasrc/view/admin_uci/revert.htm +++ b/modules/admin-full/luasrc/view/admin_uci/revert.htm @@ -15,12 +15,17 @@ $Id$ <%+header%> -<h2><a id="content" name="content"><%:Configuration%></a></h2> -<p><strong><%:The following changes have been reverted%>:</strong></p> +<h2><a id="content" name="content"><%:Configuration / Revert%></a></h2> -<div class="cbi-section"> - <code><%=(changes or "-")%></code> -</div> +<% if changes then %> + <%+cbi/apply_xhr%> + <%+admin_uci/changelog%> + + <p><strong><%:The following changes have been reverted%>:</strong></p> + <%- uci_changelog(changes) -%> +<% else %> + <p><strong><%:There are no pending changes to revert!%></strong></p> +<% end %> <div class="cbi-page-actions"> <form class="inline" method="get" action="<%=luci.util.pcdata(luci.http.formvalue("redir"))%>"> |