Merge branch 'fix-pro-dashboard' into 'develop'
Add PRO conditional to dashboard, fixes #78 Closes #78 See merge request gab/social/gab-social!37
This commit is contained in:
commit
2873ac7190
@ -133,7 +133,10 @@
|
||||
%td
|
||||
- if @account.is_pro?
|
||||
=fa_icon 'check'
|
||||
%time.formatted{ datetime: @account.pro_expires_at.iso8601, title: l(@account.pro_expires_at) }= l @account.pro_expires_at
|
||||
- if @account.pro_expires_at?
|
||||
%time.formatted{ datetime: @account.pro_expires_at.iso8601, title: l(@account.pro_expires_at) }= l @account.pro_expires_at
|
||||
- else
|
||||
∞
|
||||
%td
|
||||
- if @account.local?
|
||||
= table_link_to '', t('admin.accounts.edit_pro'), edit_pro_admin_account_path(@account.id), class: 'button' if can?(:verify, @account)
|
||||
|
Loading…
Reference in New Issue
Block a user