modules/freifunk: Move contact page to first level menu
authorManuel Munz <freifunk@somakoma.de>
Mon, 10 Oct 2011 08:32:46 +0000 (08:32 +0000)
committerManuel Munz <freifunk@somakoma.de>
Mon, 10 Oct 2011 08:32:46 +0000 (08:32 +0000)
modules/freifunk/luasrc/controller/freifunk/freifunk.lua
modules/freifunk/luasrc/view/freifunk/index.htm

index 445f8b4..89cd0ff 100644 (file)
@@ -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")
index a8cf62e..82261e5 100644 (file)
@@ -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>'..