From: Hannu Nyman Date: Wed, 24 Aug 2016 08:46:20 +0000 (+0300) Subject: luci-mod-admin-full: tweak checksum item presentation X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=107b3c7def7b02ac5d5a36b34d83d82dabd69f76;p=oweals%2Fluci.git 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 --- 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))