applications/ffwizard: Fix ffwizard_error page
This commit is contained in:
parent
09eace41db
commit
ece62bd9ab
1 changed files with 2 additions and 3 deletions
|
@ -11,15 +11,14 @@ local location = uci:get_first ("system", "system", "location")
|
||||||
|
|
||||||
<h2><%:Error%></h2>
|
<h2><%:Error%></h2>
|
||||||
|
|
||||||
<%:You can not use the wizard because some necessary values are not set.%>
|
<%:You can not use the wizard because some necessary values are missing.%>
|
||||||
<p/>
|
<p/>
|
||||||
|
|
||||||
<%
|
<%
|
||||||
local co = uci:get("freifunk", "community", "name")
|
local co = uci:get("freifunk", "community", "name")
|
||||||
if not (co and hostname and latitude and longitude and location) then
|
if not (co and hostname and latitude and longitude and location) then
|
||||||
%>
|
%>
|
||||||
<%:Basic settings are missing. Please go to this page and fill all required fields: %>
|
<%:Basic settings are incomplete. Please go to%> <a href='<%=basicsurl%>'><%:Basic settings%></a> <%:and fill out all required fields.%>
|
||||||
<a href='<%=basicsurl%>'><%:Basic settings%></a>
|
|
||||||
<p/>
|
<p/>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue