mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-26 20:56:48 +00:00
Add an optional link to Skylight dashboard to footer
This commit is contained in:
@@ -142,3 +142,13 @@
|
||||
|
||||
.medium-2.columns.text-center
|
||||
/ Placeholder
|
||||
-if ENV['SKYLIGHT_PUBLIC_DASHBOARD_URL'].present?
|
||||
.row
|
||||
.small-12.medium-8.medium-offset-2.columns.text-center
|
||||
%hr.hr-light
|
||||
%br
|
||||
|
||||
.row
|
||||
.small-12.medium-8.medium-offset-2.columns.text-center
|
||||
.text.small
|
||||
= t :footer_skylight_dashboard_html, {dashboard: link_to('Skylight', ENV['SKYLIGHT_PUBLIC_DASHBOARD_URL'], target: "_blank")}
|
||||
|
||||
@@ -43,6 +43,9 @@ SMTP_PASSWORD: 'f00d'
|
||||
# optional, see: https://www.skylight.io/oss
|
||||
# SKYLIGHT_AUTHENTICATION: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
|
||||
|
||||
# Should be set if using Skylight, adds a link to Skylight dashboard to our footer
|
||||
# SKYLIGHT_PUBLIC_DASHBOARD_URL: "https://oss.skylight.io/app/applications/xxxxxxxxxx"
|
||||
|
||||
# Stripe Connect details for instance account
|
||||
# Find these under 'API keys' and 'Connect' in your Stripe account dashboard -> Account Settings
|
||||
# Under 'Connect', the Redirect URI should be set to https://YOUR_SERVER_URL/stripe/callbacks (e.g. https://openfoodnetwork.org.uk/stripe/callbacks)
|
||||
|
||||
@@ -1187,6 +1187,8 @@ en:
|
||||
footer_legal_visit: "Find us on"
|
||||
footer_legal_text_html: "Open Food Network is a free and open source software platform. Our content is licensed with %{content_license} and our code with %{code_license}."
|
||||
|
||||
footer_skylight_dashboard_html: Performance data is available on %{dashboard}.
|
||||
|
||||
home_shop: Shop Now
|
||||
|
||||
brandstory_headline: "Food, unincorporated."
|
||||
|
||||
Reference in New Issue
Block a user