<commit_before>- page_title t('.page_title')

%table{class: "table table-striped table-hover", id: "plugins-table"}
  %thead
    %tr
      %th{width: "24"}
      %th= t('plugins.common.name')
      %th= t('plugins.common.category')
      %th= t('plugins.common.status')
      %th
  %tbody
    - @plugins.each do |plugin|
      %tr
        %td
          - unless plugin.installed? || plugin.processing?
            = link_to t("terms.install"), install_plugins_path, class: "js-install btn btn-primary", data: { url: install_plugins_path, name: plugin.gem_name}
        %td
          %label{for: "plugin_#{plugin.gem_name}"}
            = plugin.gem_name
        %td
          = plugin.category
        %td
          - if plugin.installed?
            = t("terms.installed")
          - else
            = t("terms.not_installed")
        %td
          = link_to t('plugins.view_on_rubygems_org'), plugin.rubygems_org_page, target: "_blank"


:javascript
  $(document).ready(function() {
    $('#plugins-table').dataTable({
      "autoWidth": false,
      "ordering": true,
      "paging": false,
      "info": false,
      "searching": true,
      "language": {
        "search": "#{t("terms.search")} "
      }
    });
    $('#plugins-table').on('click', '.js-install', function(ev){
      ev.preventDefault();
      var $anchor = $(ev.target);<commit_msg>Show processing status.<commit_after>- page_title t('.page_title')

%table{class: "table table-striped table-hover", id: "plugins-table"}
  %thead
    %tr
      %th{width: "24"}
      %th= t('plugins.common.name')
      %th= t('plugins.common.category')
      %th= t('plugins.common.status')
      %th
  %tbody
    - @plugins.each do |plugin|
      %tr
        %td
          - unless plugin.installed? || plugin.processing?
            = link_to t("terms.install"), install_plugins_path, class: "js-install btn btn-primary", data: { url: install_plugins_path, name: plugin.gem_name}
        %td
          %label{for: "plugin_#{plugin.gem_name}"}
            = plugin.gem_name
        %td
          = plugin.category
        %td
          - if plugin.installed?
            = t("terms.installed")
          - elsif plugin.processing?
            = t("terms.processing")
          - else
            = t("terms.not_installed")
        %td
          = link_to t('plugins.view_on_rubygems_org'), plugin.rubygems_org_page, target: "_blank"


:javascript
  $(document).ready(function() {
    $('#plugins-table').dataTable({
      "autoWidth": false,
      "ordering": true,
      "paging": false,
      "info": false,
      "searching": true,
      "language": {
        "search": "#{t("terms.search")} "
      }
    });
    $('#plugins-table').on('click', '.js-install', function(ev){
      ev.preventDefault();
      var $anchor = $(ev.target);
{'fraction_non_alphanumeric': 0.16660707901322847, 'fraction_numerical': 0.0014301036825169824, 'mean_word_length': 2.245939675174014, 'pattern_counts': {'":': 14, '<': 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': '5886060', 'n_tokens_mistral': 902, 'n_tokens_neox': 883, 'n_words': 168}