Replace old Spanish text with org name

This commit is contained in:
Pierre Mesure
2019-11-09 13:39:57 +01:00
parent 487008d445
commit 232e6c7f11
3 changed files with 3 additions and 1 deletions

View File

@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html lang="<%= I18n.locale %>">
<head>
<%= render "layouts/common_head", default_title: "Gobierno abierto" %>
<%= render "layouts/common_head", default_title: setting["org_name"] %>
<%= render "layouts/meta_tags" %>
<%= raw setting["html.per_page_code_head"] %>
</head>

View File

@@ -1,3 +1,4 @@
<% provide(:title) { t("devise_views.users.registrations.success.title") } %>
<h2><%= t("devise_views.users.registrations.success.title") %></h2>
<p><%= sanitize(t("devise_views.users.registrations.success.thank_you")) %></p>
<p><%= sanitize(t("devise_views.users.registrations.success.instructions_1")) %></p>

View File

@@ -35,6 +35,7 @@ describe "Registration form" do
click_button "Register"
expect(page).to have_title "Confirm your email address"
expect(page).to have_content "Thank you for registering"
new_user = User.last