Gab Social. All are welcome.

This commit is contained in:
robcolbert
2019-07-02 03:10:25 -04:00
commit bd0b5afc92
5366 changed files with 222812 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
%tr
%td= transaction.id
%td= transaction.created_at
%td= transaction.payment_type
%td= transaction.provider_type
%td= number_to_currency(transaction.amount / 100)
%td
= table_link_to 'download', t('billing.transactions.download_invoice'), "test"

View File

@@ -0,0 +1,22 @@
- 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

View File

@@ -0,0 +1,4 @@
- content_for :page_title do
= t('settings.upgrade')
%p= t('billing.upgrade.explanation_html')