mirror of
https://github.com/mastodon/mastodon.git
synced 2025-11-29 02:50:46 +00:00
Some checks are pending
Check i18n / check-i18n (push) Waiting to run
Chromatic / Run Chromatic (push) Waiting to run
CodeQL / Analyze (actions) (push) Waiting to run
CodeQL / Analyze (javascript) (push) Waiting to run
CodeQL / Analyze (ruby) (push) Waiting to run
Crowdin / Upload translations / upload-translations (push) Waiting to run
Check formatting / lint (push) Waiting to run
CSS Linting / lint (push) Waiting to run
Haml Linting / lint (push) Waiting to run
JavaScript Linting / lint (push) Waiting to run
Ruby Linting / lint (push) Waiting to run
JavaScript Testing / test (push) Waiting to run
Historical data migration test / test (14-alpine) (push) Waiting to run
Historical data migration test / test (15-alpine) (push) Waiting to run
Historical data migration test / test (16-alpine) (push) Waiting to run
Historical data migration test / test (17-alpine) (push) Waiting to run
Ruby Testing / build (production) (push) Waiting to run
Ruby Testing / build (test) (push) Waiting to run
Ruby Testing / test (.ruby-version) (push) Blocked by required conditions
Ruby Testing / test (3.2) (push) Blocked by required conditions
Ruby Testing / test (3.3) (push) Blocked by required conditions
Ruby Testing / ImageMagick tests (.ruby-version) (push) Blocked by required conditions
Ruby Testing / ImageMagick tests (3.2) (push) Blocked by required conditions
Ruby Testing / ImageMagick tests (3.3) (push) Blocked by required conditions
Ruby Testing / End to End testing (.ruby-version) (push) Blocked by required conditions
Ruby Testing / End to End testing (3.2) (push) Blocked by required conditions
Ruby Testing / End to End testing (3.3) (push) Blocked by required conditions
Ruby Testing / Elastic Search integration testing (.ruby-version, docker.elastic.co/elasticsearch/elasticsearch:7.17.13) (push) Blocked by required conditions
Ruby Testing / Elastic Search integration testing (.ruby-version, docker.elastic.co/elasticsearch/elasticsearch:8.10.2) (push) Blocked by required conditions
Ruby Testing / Elastic Search integration testing (.ruby-version, opensearchproject/opensearch:2) (push) Blocked by required conditions
Ruby Testing / Elastic Search integration testing (3.2, docker.elastic.co/elasticsearch/elasticsearch:7.17.13) (push) Blocked by required conditions
Ruby Testing / Elastic Search integration testing (3.3, docker.elastic.co/elasticsearch/elasticsearch:7.17.13) (push) Blocked by required conditions
72 lines
2.6 KiB
Plaintext
72 lines
2.6 KiB
Plaintext
- content_for :page_title do
|
|
= t('verification.verification')
|
|
|
|
- content_for :heading do
|
|
%h2= t('settings.profile')
|
|
= render partial: 'settings/shared/profile_navigation'
|
|
|
|
.simple_form.form-section
|
|
%h3= t('verification.website_verification')
|
|
|
|
%p.lead= t('verification.hint_html')
|
|
|
|
%h4= t('verification.here_is_how')
|
|
|
|
%p.lead= t('verification.instructions_html')
|
|
|
|
.input-copy.lead
|
|
.input-copy__wrapper
|
|
= copyable_input value: link_to('Mastodon', ActivityPub::TagManager.instance.url_for(@account), rel: :me)
|
|
%button.button{ type: :button }= t('generic.copy')
|
|
|
|
%p.lead= t('verification.extra_instructions_html')
|
|
|
|
- if @verified_links.any?
|
|
%h4= t('verification.verified_links')
|
|
|
|
%ul.lead
|
|
- @verified_links.each do |field|
|
|
%li
|
|
%span.verified-badge
|
|
= material_symbol 'check', { class: 'verified-badge__mark' }
|
|
%span= field.value
|
|
|
|
= simple_form_for @account, url: settings_verification_path, html: { class: 'form-section' } do |f|
|
|
= render 'shared/error_messages', object: @account
|
|
|
|
%h3= t('author_attribution.title')
|
|
|
|
%p.lead= t('author_attribution.hint_html')
|
|
|
|
.fields-group.fade-out-top
|
|
%div
|
|
.status-card.expanded.bottomless
|
|
.status-card__image
|
|
= image_tag frontend_asset_url('images/preview.png'), alt: '', class: 'status-card__image-image'
|
|
.status-card__content
|
|
%span.status-card__host
|
|
%span= t('author_attribution.s_blog', name: display_name(@account))
|
|
·
|
|
%time.time-ago{ datetime: 1.year.ago.to_date.iso8601 }
|
|
%strong.status-card__title= t('author_attribution.example_title')
|
|
.more-from-author
|
|
= logo_as_symbol(:icon)
|
|
= t('author_attribution.more_from_html', name: link_to(root_url, class: 'story__details__shared__author-link') { image_tag(@account.avatar.url, class: 'account__avatar', width: 16, height: 16, alt: '') + tag.bdi(display_name(@account)) })
|
|
|
|
%h4= t('verification.here_is_how')
|
|
|
|
%p.lead= t('author_attribution.instructions')
|
|
|
|
.input-copy.lead
|
|
.input-copy__wrapper
|
|
= copyable_input value: tag.meta(name: 'fediverse:creator', content: "@#{@account.local_username_and_domain}")
|
|
%button.button{ type: :button }= t('generic.copy')
|
|
|
|
%p.lead= t('author_attribution.then_instructions')
|
|
|
|
.fields-group
|
|
= f.input :attribution_domains, as: :text, wrapper: :with_block_label, input_html: { value: @account.attribution_domains.join("\n"), placeholder: "example1.com\nexample2.com\nexample3.com", rows: 4, autocapitalize: 'none', autocorrect: 'off' }
|
|
|
|
.actions
|
|
= f.button :button, t('generic.save_changes'), type: :submit
|