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 bb85517..98b6592 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)%>)