summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorHannu Nyman <hannu.nyman@iki.fi>2016-08-24 11:46:20 +0300
committerHannu Nyman <hannu.nyman@iki.fi>2016-08-24 11:46:20 +0300
commit107b3c7def7b02ac5d5a36b34d83d82dabd69f76 (patch)
treee0c83ab072030416fa9b78e67f9fc37d769049c2
parentf885853b5cc129f039309676ca8bdda0cb43122c (diff)
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 <hannu.nyman@iki.fi>
-rw-r--r--modules/luci-mod-admin-full/luasrc/view/admin_system/upgrade.htm5
1 files 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 @@
<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))