summaryrefslogtreecommitdiffhomepage
path: root/themes/luci-theme-openwrt/luasrc/view
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2015-01-16 21:33:34 +0100
committerJo-Philipp Wich <jow@openwrt.org>2015-01-16 21:40:49 +0100
commitdaee4a650eb4f0700074ee5d8e2f6b24c81d650e (patch)
treecbd80d6cd241e02aa636bb248660921841e10097 /themes/luci-theme-openwrt/luasrc/view
parent9d908ffd78111f2f9d660b9a063e38af72554c57 (diff)
themes: require luci.version directly
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Diffstat (limited to 'themes/luci-theme-openwrt/luasrc/view')
-rw-r--r--themes/luci-theme-openwrt/luasrc/view/themes/openwrt.org/footer.htm5
1 files changed, 4 insertions, 1 deletions
diff --git a/themes/luci-theme-openwrt/luasrc/view/themes/openwrt.org/footer.htm b/themes/luci-theme-openwrt/luasrc/view/themes/openwrt.org/footer.htm
index 5830cb932b..607885fd3f 100644
--- a/themes/luci-theme-openwrt/luasrc/view/themes/openwrt.org/footer.htm
+++ b/themes/luci-theme-openwrt/luasrc/view/themes/openwrt.org/footer.htm
@@ -16,6 +16,9 @@ $Id$
</div>
</div>
-<p class="luci">Powered by <%= luci.__appname__ .. " (" .. luci.__version__ .. ")" %></p>
+<p class="luci">
+ <% local ver = require "luci.version" -%>
+ Powered by <%= ver.luciname %> (<%= ver.luciversion %>)
+</p>
</body>
</html>