diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2015-01-16 21:33:34 +0100 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2015-01-16 21:40:49 +0100 |
commit | daee4a650eb4f0700074ee5d8e2f6b24c81d650e (patch) | |
tree | cbd80d6cd241e02aa636bb248660921841e10097 /themes/luci-theme-freifunk-bno | |
parent | 9d908ffd78111f2f9d660b9a063e38af72554c57 (diff) |
themes: require luci.version directly
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Diffstat (limited to 'themes/luci-theme-freifunk-bno')
-rw-r--r-- | themes/luci-theme-freifunk-bno/luasrc/view/themes/freifunk-bno/footer.htm | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/themes/luci-theme-freifunk-bno/luasrc/view/themes/freifunk-bno/footer.htm b/themes/luci-theme-freifunk-bno/luasrc/view/themes/freifunk-bno/footer.htm index 21d1ca68a..bc07d8dd8 100644 --- a/themes/luci-theme-freifunk-bno/luasrc/view/themes/freifunk-bno/footer.htm +++ b/themes/luci-theme-freifunk-bno/luasrc/view/themes/freifunk-bno/footer.htm @@ -17,7 +17,10 @@ $Id$ </div></div> </div> -<div class="luci separator black whitetext bold"><a href="<%=controller%>/about">Powered by <%= luci.__appname__ .. " (" .. luci.__version__ .. ")" %></a></div> +<div class="luci separator black whitetext bold"> + <% local ver = require "luci.version" -%> + <a href="<%=controller%>/about">Powered by <%= ver.luciname %> (<%= ver.luciversion %>)</a> +</div> </div><!-- end main --><div align="center" style="padding-top:5px "></div> <br> </div><!-- end wrapper --> |