From 90541319f3c261c45029b53182169024a0aaf585 Mon Sep 17 00:00:00 2001 From: Hugo Peixoto Date: Sun, 2 Oct 2022 13:48:06 +0100 Subject: [PATCH] Add ifthenpay links to members/show --- app/views/members/show.html.erb | 2 ++ config/locales/pt.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/app/views/members/show.html.erb b/app/views/members/show.html.erb index afeacec..dae49a6 100644 --- a/app/views/members/show.html.erb +++ b/app/views/members/show.html.erb @@ -13,6 +13,8 @@ <%= t('members.attributes.joined_on') %><%= @member.joined_on %> <%= t('members.attributes.expires_on') %><%= @member.expires_on %> <%= t('members.attributes.status') %><%= @member.status %> + <%= t('members.attributes.regular_ifthenpay_link') %><%= link_to @member.regular_ifthenpay_link, @member.regular_ifthenpay_link %> + <%= t('members.attributes.reduced_ifthenpay_link') %><%= link_to @member.reduced_ifthenpay_link, @member.reduced_ifthenpay_link %>
diff --git a/config/locales/pt.yml b/config/locales/pt.yml index 3725085..c900b30 100644 --- a/config/locales/pt.yml +++ b/config/locales/pt.yml @@ -53,6 +53,8 @@ pt: address: "Endereço postal" wants_mailing_list: "Inscrição na lista de correio" prefers_postal: "Prefere comunicação postal" + regular_ifthenpay_link: "Link ifthenpay normal" + reduced_ifthenpay_link: "Link ifthenpay reduzido" status: any: "Qualquer" active: "Activo"