luci-theme-bootstrap: fix typo in admin node lookup
authorJo-Philipp Wich <jo@mein.io>
Thu, 27 Sep 2018 19:19:03 +0000 (21:19 +0200)
committerJo-Philipp Wich <jo@mein.io>
Thu, 27 Sep 2018 19:19:03 +0000 (21:19 +0200)
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
themes/luci-theme-bootstrap/luasrc/view/themes/bootstrap/header.htm

index 740538481435d04887ab1f76148f65654ea0d1fc..3fc5359493cc375e01d65ac42effbec2f4426b67 100644 (file)
                                <div class="alert-message warning">
                                        <h4><%:No password set!%></h4>
                                        <p><%:There is no password set on this router. Please configure a root password to protect the web interface and enable SSH.%></p>
-                                       <% if disp.lookup("amdin/system/admin") then %>
+                                       <% if disp.lookup("admin/system/admin") then %>
                                          <div class="right"><a class="btn" href="<%=url("admin/system/admin")%>"><%:Go to password configuration...%></a></div>
                                        <% end %>
                                </div>