app/presenters/hyrax/fixity_status_presenter.rb
# A weird display, cause we need it to fit in that 180px column on
# FileSet show, and have no real UI to link to for files/versions :(
# rubocop:disable Metrics/MethodLength
A weird display, cause we need it to fit in that 180px column on
FileSet show, and have no real UI to link to for files/versions :(
rubocop:disable Metrics/MethodLength
A weird display cause we need it to fit in that 180px column on FileSet show and have no real UI to link to for files / versions : ( rubocop : disable Metrics / MethodLength
def render_failed_compact
      safe_join(
          ["<p><strong>Failed checks:</strong></p>".html_safe] +
              failing_checks.collect do |log|
                safe_join(
                    [
                        "<p>".html_safe,
                        "ChecksumAuditLog id: #{log.id}; ",
                        content_tag("a", "file", href: "#{Hydra::PCDM::File.translate_id_to_uri.call(log.file_id)}/fcr:metadata") + "; ",
                        content_tag("a", "checked_uri", href: "#{log.checked_uri}/fcr:metadata") + "; ",
                        "date: #{log.created_at}; ",
                        "expected_result: #{log.expected_result}",
                        "</p>".html_safe
                    ]
                )
              end
      )
    end
def render_failed_compact safe_join ( [ "<p><strong>Failed checks:</strong></p>" . html_safe ] + failing_checks . collect do | log | safe_join ( [ "<p>" . html_safe , "ChecksumAuditLog id: #{log.id}; " , content_tag ( "a" , "file" , href : "#{Hydra::PCDM::File.translate_id_to_uri.call(log.file_id)}/fcr:metadata" ) + "; " , content_tag ( "a" , "checked_uri" , href : "#{log.checked_uri}/fcr:metadata" ) + "; " , "date: #{log.created_at}; " , "expected_result: #{log.expected_result}" , "</p>" . html_safe ] ) end ) end
A weird display, cause we need it to fit in that 180px column on
FileSet show, and have no real UI to link to for files/versions :(
rubocop:disable Metrics/MethodLength
A weird display cause we need it to fit in that 180px column on FileSet show and have no real UI to link to for files / versions : ( rubocop : disable Metrics / MethodLength