diff --git a/app/components/common/footer/component.html.erb b/app/components/common/footer/component.html.erb index 444f23cc6..ba0d5f1cb 100644 --- a/app/components/common/footer/component.html.erb +++ b/app/components/common/footer/component.html.erb @@ -18,7 +18,7 @@
- <%= t('common.footer.domain_regulation')%> -
- <%= t('common.footer.faq')%> - <%= t('common.footer.statistics')%> -
- <%= t('common.footer.dispute_committee') %> + <%= t('common.footer.domain_regulation')%>
+ <%= t('common.footer.faq')%>
+ <%= t('common.footer.statistics')%>
+ <%= t('common.footer.dispute_committee') %>
<%= t('auctions.top_grid.terms_and_conditions_link').capitalize %> -
+

@@ -71,12 +69,12 @@
<%= t('common.footer.estonian_internet') %>

- <%= t('common.footer.contact_us') %>
- <%= t('common.footer.management') %> + <%= t('common.footer.contact_us') %>
+ <%= t('common.footer.management') %>
- - <%= t('common.footer.registrars_working_group') %> + + <%= t('common.footer.newsletter') %>
diff --git a/app/components/common/footer/component.rb b/app/components/common/footer/component.rb index 3481db72d..a613ae096 100644 --- a/app/components/common/footer/component.rb +++ b/app/components/common/footer/component.rb @@ -7,12 +7,19 @@ def footer_link(key) = if I18n.locale == :et en_footer_links[key] end + # rubocop:disable Metrics/MethodLength def et_footer_links { dispute_committee: 'https://www.internet.ee/domeenivaidlused/domeenivaidluste-komisjon', list_of_accredited_registrars: 'https://www.internet.ee/registripidaja/akrediteeritud-registripidajad', terms_and_conditions_for_registrars: 'https://www.internet.ee/registripidaja/kuidas-saada-ee-akrediteeritud-registripidajaks', - partner_programme: 'https://www.internet.ee/registripidaja/kuidas-saada-ee-elite-partneriks' + partner_programme: 'https://www.internet.ee/registripidaja/kuidas-saada-ee-elite-partneriks', + contact_us: 'https://www.internet.ee/eis', + management: 'https://www.internet.ee/eis/ulesanded-juhatus-ja-noukogu', + newsletter: 'https://www.internet.ee/eis/uudiskirjad', + domain_regulation: 'https://www.internet.ee/domeenid/ee-domeenireeglid', + faq: 'https://www.internet.ee/abi-ja-info/kkk', + statistics: 'https://www.internet.ee/abi-ja-info/statistika' } end @@ -21,7 +28,13 @@ def en_footer_links dispute_committee: 'https://www.internet.ee/domain-disputes/domain-disputes-committee', list_of_accredited_registrars: 'https://www.internet.ee/registrar-portal/accredited-registrars', terms_and_conditions_for_registrars: 'https://www.internet.ee/registrar-portal/terms-and-conditions-for-becoming-a-registrar', - partner_programme: 'https://www.internet.ee/registrar-portal/become-a-ee-elite-partner' + partner_programme: 'https://www.internet.ee/registrar-portal/become-a-ee-elite-partner', + contact_us: 'https://www.internet.ee/eif', + management: 'https://www.internet.ee/eif/tasks-and-management', + newsletter: 'https://www.internet.ee/eif/newsletter', + domain_regulation: 'https://internet.ee/domains/ee-domain-regulation', + faq: 'https://internet.ee/help-and-info/faq', + statistics: 'https://internet.ee/help-and-info/statistics' } end end diff --git a/config/locales/common.en.yml b/config/locales/common.en.yml index 22fce6a1e..c067d3580 100644 --- a/config/locales/common.en.yml +++ b/config/locales/common.en.yml @@ -19,6 +19,7 @@ en: statistics: "Statistics" dispute_committee: "Domain Dispute Committee" status_page: "System status page" + newsletter: Newsletter registrars: "Registrars" list_of_accredited_registrars: "List of .ee accredited registrars" diff --git a/config/locales/common.et.yml b/config/locales/common.et.yml index 215afd069..d74786669 100644 --- a/config/locales/common.et.yml +++ b/config/locales/common.et.yml @@ -18,6 +18,7 @@ et: faq: "Korduma kippuvad küsimused" statistics: "Statistika" dispute_committee: "Domeenivaidluste Komisjon" + newsletter: Liitu uudiskirjaga! registrars: "Registripidajad" list_of_accredited_registrars: "Akrediteeritud registripidajate nimekiri" diff --git a/test/components/common/footer_test.rb b/test/components/common/footer_test.rb index eda559d00..87e895fc6 100644 --- a/test/components/common/footer_test.rb +++ b/test/components/common/footer_test.rb @@ -47,11 +47,11 @@ def test_render_component assert_selector '.c-footer__row__col.s-footer-col', text: I18n.t('common.footer.estonian_internet') assert_selector '.c-footer__row__col.s-footer-col', text: I18n.t('common.footer.contact_us') assert_selector '.c-footer__row__col.s-footer-col', text: I18n.t('common.footer.management') - assert_selector '.c-footer__row__col.s-footer-col', text: I18n.t('common.footer.registrars_working_group') + assert_selector '.c-footer__row__col.s-footer-col', text: I18n.t('common.footer.newsletter') assert_selector '.c-footer__row__col.s-footer-col a[href="https://www.internet.ee/eif"]' assert_selector '.c-footer__row__col.s-footer-col a[href="https://www.internet.ee/eif/tasks-and-management"]' - assert_selector '.c-footer__row__col.s-footer-col a[href="https://www.internet.ee/eif/registrars-workgroup"]' + assert_selector '.c-footer__row__col.s-footer-col a[href="https://www.internet.ee/eif/newsletter"]' assert_selector '.c-footer__row__col.s-footer-col', text: I18n.t('common.footer.social_media')