This commit is contained in:
mgabdev
2020-12-15 19:31:30 -05:00
parent de0c977950
commit 75d52c841e
129 changed files with 2559 additions and 910 deletions

View File

@@ -7,12 +7,17 @@
.fields-row
.fields-row__column.fields-group.fields-row__column-6
- if @account.is_verified
%span Verified accounts cannot change their display name
%div
%span Verified accounts cannot change their username or display name. Please contact
%a{:href => "https://gab.com/help", :style => "color:#3ACD80;text-decoration:none;outline:0;", :target => "_blank"} @help
%span for more information.
%br
%br
- elsif @account.is_pro
= f.input :username, wrapper: :with_label, input_html: { maxlength: 30 }, hint: false
- else
= f.input :display_name, wrapper: :with_label, input_html: { maxlength: 30 }, hint: false
= f.input :note, wrapper: :with_label, input_html: { maxlength: 500 }, hint: false
= f.input :note, wrapper: :with_label, input_html: { maxlength: 500 }, hint: false
.fields-row
.fields-row__column.fields-row__column-6

View File

@@ -0,0 +1,6 @@
- content_for :page_title do
= 'Trending Hashtags'
= form_tag settings_trending_hashtags_url, :method => :post do
= text_field_tag "trending_hashtags", "", :style => 'width:400px', placeholder: "StopTheSteal, Trump2020, Election2020", :value => @trending_hashtags
= submit_tag "Submit"

View File

@@ -6,3 +6,4 @@
%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)
= table_link_to 'checkmark', t('verifications.moderation.reject'), settings_verifications_reject_url(verification_request.id)