luci-mod-admin-full: tweak checksum item presentation
authorHannu Nyman <hannu.nyman@iki.fi>
Wed, 24 Aug 2016 08:46:20 +0000 (11:46 +0300)
committerHannu Nyman <hannu.nyman@iki.fi>
Wed, 24 Aug 2016 08:46:20 +0000 (11:46 +0300)
Simplify the sysupgrade image checksum strings in order to
avoid translating "Checksum xxx" items both for MD5 and SHA256.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
modules/luci-mod-admin-full/luasrc/view/admin_system/upgrade.htm

index 279af575c1d797e464603be27143ee94b8be9ff7..7175248dbb1a46767588e93ba2d80c25fa9469b8 100644 (file)
@@ -24,8 +24,9 @@
 
 <fieldset class="cbi-section">
        <ul>
-               <li><%:Checksum MD5%>: <code><%=checksum%></code></li>
-               <li><%:Checksum SHA256%>: <code><%=sha256ch%></code></li>
+               <li><%:Checksum%><br />
+               <%:MD5%>: <code><%=checksum%></code><br />
+               <%:SHA256%>: <code><%=sha256ch%></code></li>
                <li><%:Size%>: <%
                        local w = require "luci.tools.webadmin"
                        write(w.byte_format(size))