Skip to content
This repository has been archived by the owner on Dec 6, 2022. It is now read-only.

Commit

Permalink
Disable link to ETFlex
Browse files Browse the repository at this point in the history
  • Loading branch information
ChaelKruip authored and antw committed Feb 14, 2019
1 parent 2f1c9b6 commit f0d45ef
Show file tree
Hide file tree
Showing 10 changed files with 12 additions and 19 deletions.
2 changes: 1 addition & 1 deletion README.mdown
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ front-end applications.
- Prominent Users integrated with PRESETS!
- API `nice-to-have`
- workshops? `nice-to-have`
* Links to professional, light, etmoses,
* Links to professional, light, mobile game,
refman, wiki

## Features
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions app/assets/stylesheets/pages/root.sass
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ body#pages_root
text-decoration: none
font-weight: 200

p
text-align: center
p
text-align: center

.product:active
top: 1px
Expand Down
2 changes: 1 addition & 1 deletion app/helpers/pages_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ def product_link(product)
if is_production?
case product
when :light
link = "https://light.energytransitionmodel.com"
link = "https://energytransitionmodel.com"
when :pro
link = "https://pro.energytransitionmodel.com"
when :etmoses
Expand Down
13 changes: 4 additions & 9 deletions app/views/pages/root.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,10 @@

%article.span4
.product#etflex
%a.etflex_link{ href:"#{ product_link(:light) }", target: '_blank' }
.img-holder
= image_tag 'pages/root/screen_light.jpg'
%h2= raw t 'landing_page.etflex.title'
%p= raw t 'landing_page.etflex.explanation'
%div.btn-holder
%a.btn.btn-primary{ href: product_link(:light), target: '_blank' }
Open
= raw t 'landing_page.etflex.title'
.img-holder
= image_tag 'pages/root/screen_light.jpg'
%h2= raw t 'landing_page.etflex.title'
%p= raw t 'landing_page.etflex.explanation'

.row#education
%article
Expand Down
4 changes: 2 additions & 2 deletions config/locales/en_landing_page.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ en:
title: "Create your <strong>own</strong> Energy Future."
explanation: "The <strong>Energy Transition Model</strong> is an independent, comprehensive and fact-based energy model that is used by governments, corporations, NGOs and <a href='http://onderwijs.quintel.nl'>educators</a> in various countries. It is backed by more than <a href='/partners'>20 partners</a>. There are three different versions of the Energy Transition Model."
etflex:
title: "Energy Game"
explanation: "A fun <strong>introduction</strong> to the most important energy themes. Will your energy future get the highest score?"
title: "Not available"
explanation: "The Energy Game is temporarily not available. Quintel is working on a simplified interface to the Energy Transition Model."
etmodel:
title: "Energy Transition Model"
explanation: "Packed with information on six countries and the EU. This version is used by <strong>policy makers</strong> and <strong>experts</strong> to evaluate energy scenarios."
Expand Down
4 changes: 2 additions & 2 deletions config/locales/nl_landing_page.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ nl:
title: "Maak je <strong>eigen</strong> Energietoekomst."
explanation: "Het <strong>Energietransitiemodel</strong> is een onafhankelijk, uitgebreid, en op feiten gebaseerd energiemodel dat wordt gebruikt door overheden, bedrijven, NGO's en <a href='http://onderwijs.quintel.nl'>onderwijsinstellingen</a> in verschillende landen. Het wordt ondersteund door meer dan <a href='/partners'>20 partners</a>. Er zijn drie verschillende versies van het Energietransitiemodel."
etflex:
title: "Energiegame"
explanation: "Een leuke <strong>inleiding</strong> tot de belangrijkste energiethema's. Kun jij de hoogste score halen met jouw energietoekomst?"
title: "Niet beschikbaar"
explanation: "De Energiegame is tijdelijk niet beschikbaar. Quintel werkt aan een eenvoudige interface van het Energietransitiemodel."
etmodel:
title: "Energietransitiemodel"
explanation: "Bomvol gegevens over zes landen en de EU, waarmee <strong>beleidsmakers</strong> en <strong>experts</strong> energiescenario's doorrekenen."
Expand Down
1 change: 0 additions & 1 deletion config/pages/en/open_source.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,3 @@ repositories are:
* for source data: [etdataset](http://github.com/quintel/etdataset-public)
* for calculation: [etengine](http://github.com/quintel/etengine)
* for the professional interface: [etmodel](http://github.com/quintel/etmodel)
* for the energy game interface: [etflex](http://github.com/quintel/etflex)
1 change: 0 additions & 1 deletion config/pages/nl/open_source.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ volgende:
* voor brondata: [etdataset](http://github.com/quintel/etdataset-public)
* voor de berekeningen: [etengine](http://github.com/quintel/etengine)
* voor de professionele interface: [etmodel](http://github.com/quintel/etmodel)
* voor de energy game interface: [etflex](http://github.com/quintel/etflex)

Hieronder kunt u zich inschrijven voor de nieuwsbrief. U ontvangt dan
updates over de voortgang en belangrijke ontwikkelingen.
Expand Down

0 comments on commit f0d45ef

Please sign in to comment.