<commit_before><commit_msg>Helps to add new templates.<commit_after>:ruby
  observation_by_login_title = if is_me?(@selected_user)
    t('votes_by_login.title.current_user',
      default: t(:second_person_possessive_singular_, :noun => t(:favorites).downcase))
  else
    t('votes_by_login.title.login', login: @login,
      default: t(:third_person_possessive_singular, :noun => t(:favorites).titleize, :object_phrase => @login))
  end

- content_for :title do
  = @title ||= observation_by_login_title

- content_for :extrajs do
  = google_maps_js
  = javascript_include_tag 'map_bundle'
  :javascript
    $(document).ready(function() {
      $('.observationcontrols').observationControls('medium')
    })

.column.span-24
  = render :partial => "shared/by_login_header", :locals => { title: observation_by_login_title }
.columns.span-24
  - if @votes.size == 0
    .nocontent.meta
      - if logged_in? && is_me?(@selected_user)
        = t 'no_favorites_added.current_user'
      - else
        = t 'no_favorites_added.user', user: @login.to_s
  - else
    .stacked.observationcontrols
    .observations.medium.grid
      - compact do
        - for vote in @votes
          = render 'observations/observation_component', observation: vote.votable

  = will_paginate @votes

{'fraction_non_alphanumeric': 0.12519561815336464, 'fraction_numerical': 0.003912363067292645, 'mean_word_length': 3.790262172284644, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 8, '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': '503391', 'n_tokens_mistral': 440, 'n_tokens_neox': 431, 'n_words': 75}