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= verification_request.id
%td= verification_request.created_at
%td
= link_to verification_request.account.username, admin_account_url(verification_request.account.id)
%td
= table_link_to 'download', t('verifications.moderation.view_proof'), verification_request.image.url, target: "_blank"
= table_link_to 'checkmark', t('verifications.moderation.approve'), settings_verifications_approve_url(verification_request.id)

View File

@@ -0,0 +1,15 @@
- content_for :page_title do
= t('verifications.moderation.title')
%hr.spacer/
.table-wrapper
%table.table
%thead
%tr
%th= t('verifications.moderation.id')
%th= t('verifications.moderation.date')
%th= t('verifications.moderation.account')
%th
%tbody
= render partial: 'settings/verifications/moderation/verification_request', collection: @verification_requests, as: :verification_request

View File

@@ -0,0 +1,27 @@
- content_for :page_title do
= t('verifications.requests.title')
- if @current_account.is_verified?
.alert.alert-info
= t('verifications.requests.already_verified_html')
- elsif @account_verification_request.persisted?
.alert.alert-success
= t('verifications.requests.already_requested')
- elsif not @current_account.is_pro?
.alert.alert-info
= t('verifications.requests.only_allowed_for_pro')
- else
= simple_form_for @account_verification_request, url: settings_verifications_requests_path do |f|
= t('verifications.requests.explanation_html')
%br
= render 'shared/error_messages', object: @account_verification_request
= f.hidden_field :account
.fields-group
= f.input :image, wrapper: :with_label, input_html: { accept: 'image/png' }, hint: t('verifications.requests.image_hint')
.actions
= f.button :button, t('verifications.requests.submit'), type: :submit