From: Manuel Munz Date: Mon, 10 Oct 2011 08:32:46 +0000 (+0000) Subject: modules/freifunk: Move contact page to first level menu X-Git-Tag: 0.11.0~1582 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=bb5986cf13b5cdfffc00ce721fe0829e3a5aca2d;p=oweals%2Fluci.git modules/freifunk: Move contact page to first level menu --- 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").. ' '.. (ff.contact.nickname or translate("Please set your contact information")).. '.

'..