<commit_before>- @selected = :subscribers
- @title = "Subscribers"

- unless @subscribers.empty?
  .index_head
    = will_paginate @subscribers, :previous_label => '&laquo; Prev'
    %p
      - if @subscribers.total_pages > 1
        = "#{@subscribers.size} of"
      = pluralize @subscribers.size, 'Subscriber'
  
  %table.index#subscribers{:border=>0, :cellpadding=>0, :cellspacing=>0}
    %tbody
      - for subscriber in @subscribers
        %tr[subscriber]
          %td.avatar= image_tag gravatar_url(subscriber.email), :width => 32, :height => 32
          %td.name_and_email
            = name_and_email(subscriber.name, subscriber.email)
          %td.actions= link_to "Unsubscribe", admin_subscriber_path(subscriber), :method => :delete, :confirm => "Are you sure you want to unsubscribe #{subscriber.name? ? h(subscriber.name) : 'this person'}?"
  
  .index_foot
    = will_paginate @subscribers, :previous_label => '&laquo; Prev'
  
  .download
    %h3 Download:
    %ul
      %li= link_to "Email Addresses", :format => "txt"
      %li= link_to "CSV", :format => "csv"
- else
  %p.message.info
    %strong You don&#8217;t have any subscribers yet!
    %em When you do, they&#8217;ll show up here.<commit_msg>made plurilization fix use total subscribers, not just the total number on the current page<commit_after>- @selected = :subscribers
- @title = "Subscribers"

- unless @subscribers.empty?
  .index_head
    = will_paginate @subscribers, :previous_label => '&laquo; Prev'
    %p
      - if @subscribers.total_pages > 1
        = "#{@subscribers.size} of"
      = pluralize @subscribers.total_entries, 'subscriber'
  
  %table.index#subscribers{:border=>0, :cellpadding=>0, :cellspacing=>0}
    %tbody
      - for subscriber in @subscribers
        %tr[subscriber]
          %td.avatar= image_tag gravatar_url(subscriber.email), :width => 32, :height => 32
          %td.name_and_email
            = name_and_email(subscriber.name, subscriber.email)
          %td.actions= link_to "Unsubscribe", admin_subscriber_path(subscriber), :method => :delete, :confirm => "Are you sure you want to unsubscribe #{subscriber.name? ? h(subscriber.name) : 'this person'}?"
  
  .index_foot
    = will_paginate @subscribers, :previous_label => '&laquo; Prev'
  
  .download
    %h3 Download:
    %ul
      %li= link_to "Email Addresses", :format => "txt"
      %li= link_to "CSV", :format => "csv"
- else
  %p.message.info
    %strong You don&#8217;t have any subscribers yet!
    %em When you do, they&#8217;ll show up here.
{'fraction_non_alphanumeric': 0.1365255243371587, 'fraction_numerical': 0.013454689354966362, 'mean_word_length': 3.3361921097770155, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 27, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '966374', 'n_tokens_mistral': 894, 'n_tokens_neox': 857, 'n_words': 207}