summaryrefslogtreecommitdiffhomepage
path: root/modules
diff options
context:
space:
mode:
authorManuel Munz <freifunk@somakoma.de>2011-10-10 08:32:46 +0000
committerManuel Munz <freifunk@somakoma.de>2011-10-10 08:32:46 +0000
commitbb5986cf13b5cdfffc00ce721fe0829e3a5aca2d (patch)
treed93cca6303082876257e1de50524cad7e963a5b2 /modules
parent760dcec66720cb1bf0f5ef333f5caaa6baef4571 (diff)
modules/freifunk: Move contact page to first level menu
Diffstat (limited to 'modules')
-rw-r--r--modules/freifunk/luasrc/controller/freifunk/freifunk.lua4
-rw-r--r--modules/freifunk/luasrc/view/freifunk/index.htm2
2 files changed, 3 insertions, 3 deletions
diff --git a/modules/freifunk/luasrc/controller/freifunk/freifunk.lua b/modules/freifunk/luasrc/controller/freifunk/freifunk.lua
index 445f8b410..89cd0ff50 100644
--- a/modules/freifunk/luasrc/controller/freifunk/freifunk.lua
+++ b/modules/freifunk/luasrc/controller/freifunk/freifunk.lua
@@ -40,10 +40,10 @@ function index()
page.order = 10
page.indexignore = true
- page = node("freifunk", "index", "contact")
+ page = node("freifunk", "contact")
page.target = template("freifunk/contact")
page.title = _("Contact")
- page.order = 10
+ page.order = 15
page = node("freifunk", "status")
page.target = template("freifunk/public_status")
diff --git a/modules/freifunk/luasrc/view/freifunk/index.htm b/modules/freifunk/luasrc/view/freifunk/index.htm
index a8cf62e4b..82261e56e 100644
--- a/modules/freifunk/luasrc/view/freifunk/index.htm
+++ b/modules/freifunk/luasrc/view/freifunk/index.htm
@@ -42,7 +42,7 @@ if (ff.community.DefaultText or "") ~= "disabled" then
'. '..
translate("It is operated by")..
' <a href="'..
- luci.dispatcher.build_url("freifunk", "index", "contact")..
+ luci.dispatcher.build_url("freifunk", "contact")..
'">'..
(ff.contact.nickname or translate("Please set your contact information"))..
'</a>.</p><p>'..