<commit_before>- content_for(:navbar_content) do
  span= I18n.t("publishers.dashboard")

.row
  .col-center.col-xs-12.col-md-5
    fieldset
      legend.publisher-domain-summary
        - if current_publisher.verified?
          = image_tag("verified-icon.png", alt: I18n.t("publishers.verified"), class: "verified-icon", height: 30)
        span.publisher-domain-name= current_publisher.brave_publisher_id
        - if !current_publisher.verified?
          span.link-hint.publisher-verified-status= I18n.t("publishers.not_verified")
      
      h4= I18n.t("publishers.status")
      .attribute-value.status
        - if publisher_can_receive_funds?(current_publisher)
          div= I18n.t("publishers.status_can_receive_funds")
        - else
          div= I18n.t("publishers.status_to_receive_payments")
          ul
            - if current_publisher.bitcoin_address.blank?
              li= I18n.t("publishers.status_bitcoin_address_required")
            - if !current_publisher.legal_form_completed?
              li= I18n.t("publishers.status_legal_form_required")

      h4= I18n.t("publishers.balance_pending")
      .attribute-value.balance
        span.balance-amount= publisher_humanize_balance(current_publisher)
        = " "
        span.approximate-hint.link-hint= I18n.t("publishers.balance_pending_approximate")

      h4= I18n.t("publishers.payment_bitcoin_address")
      .attribute-value.payment-info.row.no-gutter
        - if current_publisher.bitcoin_address.present?
          span.bitcoin-address= current_publisher.bitcoin_address
        - if current_publisher.bitcoin_address.present?
          = link_to(I18n.t("publishers.edit_bitcoin_address"), edit_payment_info_publishers_path)
        - else
          = link_to(I18n.t("publishers.add_bitcoin_address"), edit_payment_info_publishers_path, class: "btn btn-primary btn-sm col-md-7 col-xs-12")

      h4= PublisherLegalForm.model_name.human 
      .attribute-value.legal-form.row.no-gutter
        - if current_publisher.legal_form_completed?
          span.form-type
            = publisher_legal_form_humanize_form_type(current_publisher.legal_form)
          = link_to(I18n.t("publisher_legal_forms.view"), current_publisher.legal_form, class: "view-form")
        - else
          = link_to(I18n.t("publisher_legal_forms.submit_tax_form_button"), new_publisher_legal_form_path, class: "btn btn-primary btn-sm col-md-7 col-xs-12")

      h4= I18n.t("publishers.contact_person")
      .attribute-value.contact-person
        span.name= current_publisher.name
        span.email= current_publisher.email<commit_msg>Remove link to view completed PublisherLegalForms<commit_after>- content_for(:navbar_content) do
  span= I18n.t("publishers.dashboard")

.row
  .col-center.col-xs-12.col-md-5
    fieldset
      legend.publisher-domain-summary
        - if current_publisher.verified?
          = image_tag("verified-icon.png", alt: I18n.t("publishers.verified"), class: "verified-icon", height: 30)
        span.publisher-domain-name= current_publisher.brave_publisher_id
        - if !current_publisher.verified?
          span.link-hint.publisher-verified-status= I18n.t("publishers.not_verified")
      
      h4= I18n.t("publishers.status")
      .attribute-value.status
        - if publisher_can_receive_funds?(current_publisher)
          div= I18n.t("publishers.status_can_receive_funds")
        - else
          div= I18n.t("publishers.status_to_receive_payments")
          ul
            - if current_publisher.bitcoin_address.blank?
              li= I18n.t("publishers.status_bitcoin_address_required")
            - if !current_publisher.legal_form_completed?
              li= I18n.t("publishers.status_legal_form_required")

      h4= I18n.t("publishers.balance_pending")
      .attribute-value.balance
        span.balance-amount= publisher_humanize_balance(current_publisher)
        = " "
        span.approximate-hint.link-hint= I18n.t("publishers.balance_pending_approximate")

      h4= I18n.t("publishers.payment_bitcoin_address")
      .attribute-value.payment-info.row.no-gutter
        - if current_publisher.bitcoin_address.present?
          span.bitcoin-address= current_publisher.bitcoin_address
        - if current_publisher.bitcoin_address.present?
          = link_to(I18n.t("publishers.edit_bitcoin_address"), edit_payment_info_publishers_path)
        - else
          = link_to(I18n.t("publishers.add_bitcoin_address"), edit_payment_info_publishers_path, class: "btn btn-primary btn-sm col-md-7 col-xs-12")

      h4= PublisherLegalForm.model_name.human 
      .attribute-value.legal-form.row.no-gutter
        - if current_publisher.legal_form_completed?
          span.form-type
            = publisher_legal_form_humanize_form_type(current_publisher.legal_form)
        - else
          = link_to(I18n.t("publisher_legal_forms.submit_tax_form_button"), new_publisher_legal_form_path, class: "btn btn-primary btn-sm col-md-7 col-xs-12")

      h4= I18n.t("publishers.contact_person")
      .attribute-value.contact-person
        span.name= current_publisher.name
        span.email= current_publisher.email
{'fraction_non_alphanumeric': 0.10678098207326578, 'fraction_numerical': 0.018316445830085737, 'mean_word_length': 3.1096877502001603, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5267861', 'n_tokens_mistral': 1739, 'n_tokens_neox': 1674, 'n_words': 194}