projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
themes: require luci.version directly
[project/luci.git]
/
themes
/
luci-theme-openwrt
/
luasrc
/
view
/
themes
/
openwrt.org
/
footer.htm
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
5830cb9
..
607885f
100644
(file)
--- 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>