modules/freifunk: Move contact page to first level menu

This commit is contained in:
Manuel Munz 2011-10-10 08:32:46 +00:00
parent 760dcec667
commit bb5986cf13
2 changed files with 3 additions and 3 deletions

View file

@ -40,10 +40,10 @@ function index()
page.order = 10 page.order = 10
page.indexignore = true page.indexignore = true
page = node("freifunk", "index", "contact") page = node("freifunk", "contact")
page.target = template("freifunk/contact") page.target = template("freifunk/contact")
page.title = _("Contact") page.title = _("Contact")
page.order = 10 page.order = 15
page = node("freifunk", "status") page = node("freifunk", "status")
page.target = template("freifunk/public_status") page.target = template("freifunk/public_status")

View file

@ -42,7 +42,7 @@ if (ff.community.DefaultText or "") ~= "disabled" then
'. '.. '. '..
translate("It is operated by").. translate("It is operated by")..
' <a href="'.. ' <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")).. (ff.contact.nickname or translate("Please set your contact information"))..
'</a>.</p><p>'.. '</a>.</p><p>'..