Add ifthenpay links to members/show

main
Hugo Peixoto 6 months ago
parent 1a3ecad1eb
commit 90541319f3
  1. 2
      app/views/members/show.html.erb
  2. 2
      config/locales/pt.yml

@ -13,6 +13,8 @@
<tr><td><%= t('members.attributes.joined_on') %></td><td><%= @member.joined_on %></td></tr>
<tr><td><%= t('members.attributes.expires_on') %></td><td><%= @member.expires_on %></td></tr>
<tr><td><%= t('members.attributes.status') %></td><td><%= @member.status %></td></tr>
<tr><td><%= t('members.attributes.regular_ifthenpay_link') %></td><td><%= link_to @member.regular_ifthenpay_link, @member.regular_ifthenpay_link %></td></tr>
<tr><td><%= t('members.attributes.reduced_ifthenpay_link') %></td><td><%= link_to @member.reduced_ifthenpay_link, @member.reduced_ifthenpay_link %></td></tr>
</table>
<div>

@ -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"

Loading…
Cancel
Save