admin-full: allow to use translations for 'Not connected' state

This allows to use translated version of the 'Net connected' string in
the Status/Overview/Network section.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
This commit is contained in:
Jo-Philipp Wich 2012-04-02 22:50:26 +00:00
parent e6056c0a82
commit 1291f1dbb7

View file

@ -176,7 +176,7 @@ $Id$
else else
{ {
si.innerHTML = '<img src="<%=resource%>/icons/ethernet_disabled.png" /><br /><small>?</small>'; si.innerHTML = '<img src="<%=resource%>/icons/ethernet_disabled.png" /><br /><small>?</small>';
ss.innerHTML = '<em>Not connected</em>'; ss.innerHTML = '<em><%:Not connected%></em>';
} }
<% if has_ipv6 then %> <% if has_ipv6 then %>
@ -219,7 +219,7 @@ $Id$
else else
{ {
si6.innerHTML = '<img src="<%=resource%>/icons/ethernet_disabled.png" /><br /><small>?</small>'; si6.innerHTML = '<img src="<%=resource%>/icons/ethernet_disabled.png" /><br /><small>?</small>';
ss6.innerHTML = '<em>Not connected</em>'; ss6.innerHTML = '<em><%:Not connected%></em>';
} }
<% end %> <% end %>