From f488afed5a67637eea8b3641d8b06fe66ff03ae4 Mon Sep 17 00:00:00 2001 From: Ben Date: Mon, 16 Dec 2024 11:38:05 -0800 Subject: [PATCH] unrelated...fix footer org names and link to new org request form --- app/views/layouts/shared/_footer.html.erb | 4 ++-- config/locales/en.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/views/layouts/shared/_footer.html.erb b/app/views/layouts/shared/_footer.html.erb index 6bf49aabe..8d1f6ad7e 100644 --- a/app/views/layouts/shared/_footer.html.erb +++ b/app/views/layouts/shared/_footer.html.erb @@ -5,11 +5,11 @@
-

<%= t('.title') %>

+

<%= t('.organization_name', name: Current.tenant.name) %>

<%= t('.call') %> - <%= link_to t('.action'), new_organization_account_request_path %> + <%= link_to t('.action'), Rails.env.production? ? "https://www.homewardtails.org/organization_account_request/new" : "http://localhost:3000/organization_account_request/new" %>

diff --git a/config/locales/en.yml b/config/locales/en.yml index 39e9cca5d..cbb7cc4f0 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -174,7 +174,7 @@ en: layouts: shared: footer: - title: "Homeward Tails" + organization_name: "%{name}" call: "If you are a pet adoption or foster organization and want a website like this one, for free," action: "Click Here" company: "Company" @@ -195,7 +195,7 @@ en: dashboard: "Dashboard" demo: "This is a demo site" no_tenant_footer: - title: "Open Pet Rescue" + title: "Homeward Tails" about: "About Us" rescues: 'Rescues' ruby_for_good: 'Ruby For Good'