summaryrefslogtreecommitdiffhomepage
path: root/modules/freifunk/luasrc/view
diff options
context:
space:
mode:
authorManuel Munz <freifunk@somakoma.de>2011-02-19 14:54:16 +0000
committerManuel Munz <freifunk@somakoma.de>2011-02-19 14:54:16 +0000
commit1a87c7b347da6dfdec72df261140c5b46088fdc5 (patch)
tree5b5ec93fc0e1bedae266d4114990ace1b0b31122 /modules/freifunk/luasrc/view
parentf9563981b85a91b8d5b338de0c7b6fc2a20da88c (diff)
modules/freifunk: Change default netmask to 255.255.0.0, change non-working dns, show error when user tries to edit profiles but there is no profile set yet
Diffstat (limited to 'modules/freifunk/luasrc/view')
-rw-r--r--modules/freifunk/luasrc/view/freifunk/profile_error.htm11
1 files changed, 11 insertions, 0 deletions
diff --git a/modules/freifunk/luasrc/view/freifunk/profile_error.htm b/modules/freifunk/luasrc/view/freifunk/profile_error.htm
new file mode 100644
index 0000000000..984fa0acfc
--- /dev/null
+++ b/modules/freifunk/luasrc/view/freifunk/profile_error.htm
@@ -0,0 +1,11 @@
+<%+header%>
+
+<%
+local profileurl = luci.dispatcher.build_url(luci.dispatcher.context.path[1], "freifunk", "basics")
+%>
+
+<h2><%:Error%></h2>
+<%:You need to select a profile before you can edit it. To select a profile go to%> <a href='<%=profileurl%>'><%:Basic settings%></a>.
+<p/>
+
+<%+footer%>