Adds new texts on header, debates and footer
This commit is contained in:
@@ -53,6 +53,7 @@
|
|||||||
<h1><%= t("layouts.header.open_city_title") %></h1>
|
<h1><%= t("layouts.header.open_city_title") %></h1>
|
||||||
<p><%= t("layouts.header.open_city_slogan") %></p>
|
<p><%= t("layouts.header.open_city_slogan") %></p>
|
||||||
<p><%= t("layouts.header.open_city_text") %></p>
|
<p><%= t("layouts.header.open_city_text") %></p>
|
||||||
|
<p><%= t("layouts.header.open_city_soon") %></p>
|
||||||
<%= link_to t("layouts.header.see_all_debates"), debates_path, class: "button radius" %>
|
<%= link_to t("layouts.header.see_all_debates"), debates_path, class: "button radius" %>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ feature 'Localization' do
|
|||||||
visit root_path(locale: :es)
|
visit root_path(locale: :es)
|
||||||
visit root_path(locale: :klingon)
|
visit root_path(locale: :klingon)
|
||||||
|
|
||||||
expect(page).to have_text('Estamos abriendo Madrid')
|
expect(page).to have_text('La ciudad que quieres, será la ciudad que quieras.')
|
||||||
end
|
end
|
||||||
|
|
||||||
scenario 'Available locales appear in the locale switcher' do
|
scenario 'Available locales appear in the locale switcher' do
|
||||||
|
|||||||
Reference in New Issue
Block a user