From bb5986cf13b5cdfffc00ce721fe0829e3a5aca2d Mon Sep 17 00:00:00 2001
From: Manuel Munz
Date: Mon, 10 Oct 2011 08:32:46 +0000
Subject: [PATCH] modules/freifunk: Move contact page to first level menu
---
modules/freifunk/luasrc/controller/freifunk/freifunk.lua | 4 ++--
modules/freifunk/luasrc/view/freifunk/index.htm | 2 +-
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 445f8b410c..89cd0ff50c 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 a8cf62e4be..82261e56ee 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"))..
'.
'..
--
2.30.2