show.html.haml 906 B

123456789101112131415161718192021222324252627282930
  1. - content_for :page_title do
  2. = t('verification.verification')
  3. - content_for :heading do
  4. %h2= t('settings.profile')
  5. = render partial: 'settings/shared/profile_navigation'
  6. .simple_form
  7. %p.lead= t('verification.hint_html')
  8. %h4= t('verification.here_is_how')
  9. %p.lead= t('verification.instructions_html')
  10. .input-copy.lead
  11. .input-copy__wrapper
  12. %input{ type: :text, maxlength: '999', spellcheck: 'false', readonly: 'true', value: link_to('Mastodon', ActivityPub::TagManager.instance.url_for(@account), rel: 'me').to_str }
  13. %button{ type: :button }= t('generic.copy')
  14. %p.lead= t('verification.extra_instructions_html')
  15. - if @verified_links.any?
  16. %h4= t('verification.verified_links')
  17. %ul.lead
  18. - @verified_links.each do |field|
  19. %li
  20. %span.verified-badge
  21. = fa_icon 'check', class: 'verified-badge__mark'
  22. %span= field.value