X-Git-Url: https://git.archive.openwrt.org/?a=blobdiff_plain;f=themes%2Fluci-theme-freifunk-generic%2Fluasrc%2Fview%2Fthemes%2Ffreifunk-generic%2Ffooter.htm;fp=themes%2Fluci-theme-freifunk-generic%2Fluasrc%2Fview%2Fthemes%2Ffreifunk-generic%2Ffooter.htm;h=9f6a19c48cea92e1b37dca74c3d8c9d20a1ef247;hb=daee4a650eb4f0700074ee5d8e2f6b24c81d650e;hp=e9df8cda00e8de7fa512f5e6f0c5bd1d340f4e35;hpb=9d908ffd78111f2f9d660b9a063e38af72554c57;p=project%2Fluci.git diff --git a/themes/luci-theme-freifunk-generic/luasrc/view/themes/freifunk-generic/footer.htm b/themes/luci-theme-freifunk-generic/luasrc/view/themes/freifunk-generic/footer.htm index e9df8cda0..9f6a19c48 100644 --- a/themes/luci-theme-freifunk-generic/luasrc/view/themes/freifunk-generic/footer.htm +++ b/themes/luci-theme-freifunk-generic/luasrc/view/themes/freifunk-generic/footer.htm @@ -9,10 +9,14 @@ You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 -%> -<% local xtime -if exectime then - xtime = (string.format("%.2fs", os.clock() - exectime)) -end %> +<% + local ver = require "luci.version" + + local xtime + if exectime then + xtime = (string.format("%.2fs", os.clock() - exectime)) + end +%>
@@ -20,7 +24,7 @@ end %>