Mattias Bodlund 1 month ago
parent
commit
cfd031492d
3 changed files with 4 additions and 10 deletions
  1. +2
    -2
      Gemfile.lock
  2. +1
    -7
      app/views/game/results.html.erb
  3. +1
    -1
      config/question_scores.json

+ 2
- 2
Gemfile.lock View File

@ -156,7 +156,7 @@ GEM
kaminari-core (= 1.2.2)
kaminari-core (1.2.2)
language_server-protocol (3.17.0.6)
lexxy (0.9.30)
lexxy (0.9.31)
rails (>= 8.0.2)
lint_roller (1.1.0)
logger (1.7.0)
@ -471,7 +471,7 @@ CHECKSUMS
kaminari-activerecord (1.2.2) sha256=0dd3a67bab356a356f36b3b7236bcb81cef313095365befe8e98057dd2472430
kaminari-core (1.2.2) sha256=3bd26fec7370645af40ca73b9426a448d09b8a8ba7afa9ba3c3e0d39cdbb83ff
language_server-protocol (3.17.0.6) sha256=5ef2c0c138f8267e1bc631d3328347d354f96724b0af22f2c79516120443b7f0
lexxy (0.9.30) sha256=6594fc83c3af21975ac66e4a2646a8ed5ae1508cf088f6b30bdd584c21730f91
lexxy (0.9.31) sha256=6207e187c341fc419bbaa0480e092e75a45d840d4da18afe104963f3a64b6f91
lint_roller (1.1.0) sha256=2c0c845b632a7d172cb849cc90c1bce937a28c5c8ccccb50dfd46a485003cc87
logger (1.7.0) sha256=196edec7cc44b66cfb40f9755ce11b392f21f7967696af15d274dde7edff0203
loofah (2.25.2) sha256=2007f746959ac65552456e04b433e83deb22759ab38c838b4445c70e43425918


+ 1
- 7
app/views/game/results.html.erb View File

@ -80,13 +80,7 @@
</div>
<div class="cta-container">
<%= link_to tag.span(t("game.subscribe_to_newsletter")), "#", class: "cta cta-link" %>
<div class="share-container" data-controller="share" data-share-url-value="<%= root_url %>">
<button type="button" data-action="share#share" class="cta">
<%= tag.span t("game.share") %>
</button>
</div>
<%= link_to tag.span(t("game.subscribe_to_newsletter")), "#", class: "cta cta-link" %>
</div>


+ 1
- 1
config/question_scores.json View File

@ -147,7 +147,7 @@
{
"type": "bad_answer",
"overall": 0,
"impact": { "food_waste": 0, "emissions": -2, "income": -1 }
"impact": { "food_waste": 0, "emissions": -2, "income": 1 }
}
]
}


Loading…
Cancel
Save