summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeiko Bernloehr <Heiko.Bernloehr@FreeIT.de>2017-03-08 00:40:23 +0100
committerHeiko Bernloehr <Heiko.Bernloehr@FreeIT.de>2017-03-08 00:40:23 +0100
commit76c979d67ffe9c92928d581bd3466547b0876984 (patch)
treeab4e92cf9b780a4aa7db27c7d92c61bb4ccf7319
parentd76b724cf8bd1d3a03a28e73aa77381bae86cde9 (diff)
downloadecs-76c979d67ffe9c92928d581bd3466547b0876984.tar.gz
ecs-76c979d67ffe9c92928d581bd3466547b0876984.zip
Add simple-navigation config file.
-rw-r--r--config/navigation.rb27
1 files changed, 27 insertions, 0 deletions
diff --git a/config/navigation.rb b/config/navigation.rb
new file mode 100644
index 0000000..89a6fa2
--- /dev/null
+++ b/config/navigation.rb
@@ -0,0 +1,27 @@
+# Copyright (C) 2007, 2008, 2009, 2010 Heiko Bernloehr (FreeIT.de).
+#
+# This file is part of ECS.
+#
+# ECS is free software: you can redistribute it and/or modify it
+# under the terms of the GNU Affero General Public License as
+# published by the Free Software Foundation, either version 3 of
+# the License, or (at your option) any later version.
+#
+# ECS is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public
+# License along with ECS. If not, see <http://www.gnu.org/licenses/>.
+
+
+SimpleNavigation::Configuration.run do |navigation|
+ navigation.items do |primary|
+ primary.dom_class = 'menu'
+ primary.item :communities, 'Communities', admin_communities_path
+ primary.item :participants, 'Participants', admin_participants_path
+ primary.item :organizations, 'Organizations', admin_organizations_path
+ primary.item :ressources, 'Ressources', admin_ressources_path
+ end
+end