<commit_before>- unless current_user.blank?
  - if !current_user.confirmed?
    .alert.fade.in.alert-warning
      %button.close{ 'data-dismiss' => 'alert'} &times;
      =t 'devise.failure.unconfirmed'
      = link_to 'Resend confirmation email', new_user_confirmation_path

%h1= Settings.organisation_names.site_long_name

%p
  Welcome! The
  =Settings.organisation_names.site_long_name
  is a repository of information and audio recording annotations for fauna that make human-audible sounds.
%p
  We gather recordings from a wide range of environments and find practical ways to annotate the sounds with information about what's going on in them.
  Then we enable that information to be put to use by ecologists and other parties interested in conservation.

- unless @selected_images.blank?
  .row-fluid.vertical-offset
    .span5.text-center
      .row-fluid
        %strong
          = "#{@selected_images[:animal]['commonName']} Sound"
      .row-fluid
        %img{src: "#{@selected_images[:image_base]}#{@selected_images[:animal]['baseName'].html_safe+'.jpg'}",
          alt: "Image of #{@selected_images[:animal]['commonName']}", style: 'height:180px;', class: 'img-polaroid' }
      .row-fluid
        %small<commit_msg>added more information to front page<commit_after>- unless current_user.blank?
  - if !current_user.confirmed?
    .alert.fade.in.alert-warning
      %button.close{ 'data-dismiss' => 'alert'} &times;
      =t 'devise.failure.unconfirmed'
      = link_to 'Resend confirmation email', new_user_confirmation_path

%h1= Settings.organisation_names.site_long_name

%p
  Welcome! The
  =Settings.organisation_names.site_long_name
  is a repository of information and audio recording annotations for fauna that make human-audible sounds.
%p
  We gather recordings from a wide range of environments and find practical ways to annotate the sounds with information about what's going on in them.
  Then we enable that information to be put to use by ecologists and other parties interested in conservation.

- if current_user.blank?
  .alert.fade.in.alert-info
    To access Projects, Sites, and Audio Recordings and participate in our analysis work you will need to
    =link_to 'Login', new_user_session_path
    with an existing account or
    =link_to 'Sign up', new_user_registration_path
    for a new account.
- elsif can? :index, Project
  .alert.fade.in.alert-info
    To begin, have a look at the
    =link_to 'Projects', projects_path
    that are available to you. You can access Audio Recordings through Projects then the Sites they contain.

- unless @selected_images.blank?
  .row-fluid.vertical-offset
    .span5.text-center
      .row-fluid
        %strong
          = "#{@selected_images[:animal]['commonName']} Sound"
      .row-fluid
        %img{src: "#{@selected_images[:image_base]}#{@selected_images[:animal]['baseName'].html_safe+'.jpg'}",
          alt: "Image of #{@selected_images[:animal]['commonName']}", style: 'height:180px;', class: 'img-polaroid' }
      .row-fluid
        %small
{'fraction_non_alphanumeric': 0.10372077708264735, 'fraction_numerical': 0.0032927230819888046, 'mean_word_length': 3.7993680884676144, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '5427387', 'n_tokens_mistral': 923, 'n_tokens_neox': 880, 'n_words': 278}