gab-social/app/views/settings/billing/transactions/index.html.haml

22 lines
754 B
Plaintext
Raw Normal View History

2019-07-02 08:10:25 +01:00
- content_for :page_title do
= t('settings.transactions')
%p= t('billing.transactions.explanation_html')
%p= "You are PRO and your subscription ends at " + current_account.pro_expires_at.to_s if current_account.is_pro
- unless @transactions.empty?
%hr.spacer/
.table-wrapper
%table.table
%thead
%tr
%th= t('billing.transactions.id')
%th= t('billing.transactions.date')
%th= t('billing.transactions.type')
%th= t('billing.transactions.provider_type')
%th= t('billing.transactions.amount')
%th= t('billing.transactions.status')
%th
%tbody
= render partial: 'settings/billing/transactions/transaction', collection: @transactions, as: :transaction