From 51ab997a54f56495b0a2eae2a0ae9aba34e34ca9 Mon Sep 17 00:00:00 2001 From: CN_SZTL Date: Tue, 28 Jul 2020 16:04:46 +0800 Subject: [PATCH 1/2] luci-theme-argonv3: sync with upstream source --- .../luasrc/view/themes/argon/footer.htm | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/package/ctcgfw/luci-theme-argonv3/luasrc/view/themes/argon/footer.htm b/package/ctcgfw/luci-theme-argonv3/luasrc/view/themes/argon/footer.htm index 77278bb5d5..a9b13c15e4 100644 --- a/package/ctcgfw/luci-theme-argonv3/luasrc/view/themes/argon/footer.htm +++ b/package/ctcgfw/luci-theme-argonv3/luasrc/view/themes/argon/footer.htm @@ -47,8 +47,12 @@ return resultStrList end - local themepkg = ipkg.info("luci-theme-argon") - local theme_version = split(themepkg["luci-theme-argon"]["Version"],"-") + local themepkg = ipkg.info("luci-theme-argon*") + local theme_info + for k,v in pairs(themepkg) do + theme_info = v + end + local theme_version = split(theme_info["Version"],"-") %>