From 107b3c7def7b02ac5d5a36b34d83d82dabd69f76 Mon Sep 17 00:00:00 2001 From: Hannu Nyman Date: Wed, 24 Aug 2016 11:46:20 +0300 Subject: [PATCH] luci-mod-admin-full: tweak checksum item presentation Simplify the sysupgrade image checksum strings in order to avoid translating "Checksum xxx" items both for MD5 and SHA256. Signed-off-by: Hannu Nyman --- .../luci-mod-admin-full/luasrc/view/admin_system/upgrade.htm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/luci-mod-admin-full/luasrc/view/admin_system/upgrade.htm b/modules/luci-mod-admin-full/luasrc/view/admin_system/upgrade.htm index 279af575c..7175248db 100644 --- a/modules/luci-mod-admin-full/luasrc/view/admin_system/upgrade.htm +++ b/modules/luci-mod-admin-full/luasrc/view/admin_system/upgrade.htm @@ -24,8 +24,9 @@
    -
  • <%:Checksum MD5%>: <%=checksum%>
  • -
  • <%:Checksum SHA256%>: <%=sha256ch%>
  • +
  • <%:Checksum%>
    + <%:MD5%>: <%=checksum%>
    + <%:SHA256%>: <%=sha256ch%>
  • <%:Size%>: <% local w = require "luci.tools.webadmin" write(w.byte_format(size)) -- 2.25.1