modules/admin-full: generalize field descriptions in system status page
authorDaniel Golle <daniel@makrotopia.org>
Tue, 26 Feb 2013 13:21:54 +0000 (13:21 +0000)
committerDaniel Golle <daniel@makrotopia.org>
Tue, 26 Feb 2013 13:21:54 +0000 (13:21 +0000)
LuCI is not only used on routers. When running on a NAS or you-name-it
non-router hardware, refering to "Router Name" and "Router Model" in the
system information page was confusing to some users.

modules/admin-full/luasrc/view/admin_status/index.htm

index bb85517e0eecf8f3e0287f5e97edf2c55f69e248..98b6592e1cff67cad22da07875ac5d73449fe25d 100644 (file)
@@ -529,8 +529,8 @@ You may obtain a copy of the License at
        <legend><%:System%></legend>
 
        <table width="100%" cellspacing="10">
-               <tr><td width="33%"><%:Router Name%></td><td><%=luci.sys.hostname() or "?"%></td></tr>
-               <tr><td width="33%"><%:Router Model%></td><td><%=pcdata(model or "?")%></td></tr>
+               <tr><td width="33%"><%:Hostname%></td><td><%=luci.sys.hostname() or "?"%></td></tr>
+               <tr><td width="33%"><%:Model%></td><td><%=pcdata(model or "?")%></td></tr>
                <tr><td width="33%"><%:Firmware Version%></td><td>
                        <%=pcdata(luci.version.distname)%> <%=pcdata(luci.version.distversion)%> /
                        <%=pcdata(luci.version.luciname)%> (<%=pcdata(luci.version.luciversion)%>)