<commit_before><!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=0" />

    <%= stylesheet_link_tag "application", media: "all", "data-turbolinks-track" => true %>
    <%= javascript_include_tag "application", "data-turbolinks-track" => true %>
    <%= csrf_meta_tags %>

    <title><%= @title %>: <%= Ishibashi::Application.config.title %></title>

    <%= yield(:head) %>
  </head>

  <body class="<%= params[:controller] %>" data-user-id="<%= @login_user.id if @login_user.present? %>">
    <div id="header">
      <div class="banner">
        <%= link_to image_tag('logo.png', :alt => Ishibashi::Application.config.title), root_path %>
      </div>

      <div class="navigation">
        <div class="tile fill-blue">
          <div class="button flat text-white relative top-nav">
            <span>
              <% if @login_user.present? %>
                <i class="icon icon-user"></i>
                <%= @login_user.nickname %>
              <% else %>
                ゲスト
              <% end %>
              <i class="icon icon-arrow-down6"></i>
            </span>

            <div class="drop down right card fill-white">
              <div class="crow up no-gutter keep-alive">
                <div class="ws-12">
                  <ul class="unstyled">
                    <% if @login_user.present? %>
                      <li>
                        <%= link_to '発売日一覧',
                          {
                            :controller => :users,
                            :action => :show,
                            :domain_name => @login_user.domain_name,
                            :screen_name => @login_user.screen_name
                          },
                          :class => 'waves-effect list-item' %>
                      </li>

                      <li>
                        <%= link_to '設定',
                          {:controller => :keywords, :action => :index},
                          :class => 'waves-effect list-item' %>
                      </li>

                      <li>
                        <%= link_to 'タグ付けした商品一覧',
                          {:controller => :user_products, :action => :show, :id => @login_user.id},
                          :class => 'waves-effect list-item' %>
                      </li>
                    <% end %>

                    <li>
                      <% if @login_user.blank? %>
                        <%= link_to "ログイン",
                          {:controller => :users, :action => :login},
                          :class => 'waves-effect list-item' %>
                      <% else %>
                        <%= link_to "ログアウト",
                          {:controller => :users, :action => :logout},
                          :class => 'waves-effect list-item' %>
                      <% end %>
                    </li>
                  </ul>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div><commit_msg>メニューにアイコンを追加<commit_after><!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=0" />

    <%= stylesheet_link_tag "application", media: "all", "data-turbolinks-track" => true %>
    <%= javascript_include_tag "application", "data-turbolinks-track" => true %>
    <%= csrf_meta_tags %>

    <title><%= @title %>: <%= Ishibashi::Application.config.title %></title>

    <%= yield(:head) %>
  </head>

  <body class="<%= params[:controller] %>" data-user-id="<%= @login_user.id if @login_user.present? %>">
    <div id="header">
      <div class="banner">
        <%= link_to image_tag('logo.png', :alt => Ishibashi::Application.config.title), root_path %>
      </div>

      <div class="navigation">
        <div class="tile fill-blue">
          <div class="button flat text-white relative top-nav">
            <span>
              <% if @login_user.present? %>
                <i class="icon icon-user"></i>
                <%= @login_user.nickname %>
              <% else %>
                ゲスト
              <% end %>
              <i class="icon icon-arrow-down6"></i>
            </span>

            <div class="drop down right card fill-white">
              <div class="crow up no-gutter keep-alive">
                <div class="ws-12">
                  <ul class="unstyled">
                    <% if @login_user.present? %>
                      <li>
                        <%= link_to({
                            :controller => :users,
                            :action => :show,
                            :domain_name => @login_user.domain_name,
                            :screen_name => @login_user.screen_name
                          },
                          :class => 'waves-effect list-item') do %>
                          <i class="icon icon-calendar"></i>
                          発売日一覧
                        <% end %>
                      </li>

                      <li>
                        <%= link_to({:controller => :keywords, :action => :index},
                          :class => 'waves-effect list-item') do %>
                          <i class="icon icon-cog"></i>
                          設定
                        <% end %>
                      </li>

                      <li>
                        <%= link_to({:controller => :user_products, :action => :show, :id => @login_user.id},
                          :class => 'waves-effect list-item') do %>
                          <i class="icon icon-tag"></i>
                          タグ付けした商品一覧
                        <% end %>
                      </li>
                    <% end %>

                    <li>
                      <% if @login_user.blank? %>
                        <%= link_to({:controller => :users, :action => :login},
                          :class => 'waves-effect list-item') do %>
                          <i class="icon icon-login"></i>
                          ログイン
                        <% end %>
                      <% else %>
                        <%= link_to({:controller => :users, :action => :logout},
                          :class => 'waves-effect list-item') do %>
                          <i class="icon icon-logout"></i>
                          ログアウト
                        <% end %>
                      <% end %>
                    </li>
                  </ul>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
{'fraction_non_alphanumeric': 0.1537122969837587, 'fraction_numerical': 0.0031902552204176333, 'mean_word_length': 1.1439229095430525, 'pattern_counts': {'":': 0, '<': 146, '<?xml version=': 0, '>': 188, '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': '7043550', 'n_tokens_mistral': 2054, 'n_tokens_neox': 1857, 'n_words': 342}