Commit 8fb6b4a1 authored by Emmanuel Raviart's avatar Emmanuel Raviart

Add configuration for OGP tab in main menu.

parent cc20090a
......@@ -15,6 +15,11 @@ appUrl =
"http://localhost:3011/"
ogp : Bool
ogp =
False
piwik : Maybe Analytics.PiwikConfiguration
piwik =
Nothing
......
......@@ -9,6 +9,7 @@ import Cards.Item.View
import Collections.Item.View
import Collections.Edit.View
import Collections.Index.View
import Configuration
import Faq
import Home
import Html exposing (..)
......@@ -758,14 +759,17 @@ viewHeader model language containerClass =
[]
[ text (I18n.translate language (I18n.Collection I18n.Plural)) ]
]
, li []
[ aForPath
Navigate
language
"/ogp"
[ title (I18n.translate language I18n.OpenGovernmentPartnership) ]
[ text (I18n.translate language I18n.Ogp) ]
]
, if Configuration.ogp then
li []
[ aForPath
Navigate
language
"/ogp"
[ title (I18n.translate language I18n.OpenGovernmentPartnership) ]
[ text (I18n.translate language I18n.Ogp) ]
]
else
text ""
, aboutDropdown
]
, Html.form
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment