<commit_before><!DOCTYPE html>
<html>
<head>
  <meta http-equiv="Content-type" content="text/html; charset=utf-8">
  <title><%= this_blog.blog_name %> – <%= controller.controller_name %></title>
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <link rel="apple-touch-icon-precomposed" sizes="57x57" href="/apple-touch-icon-57x57.png" />
  <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/apple-touch-icon-114x114.png" />
  <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/apple-touch-icon-72x72.png" />
  <link rel="apple-touch-icon-precomposed" sizes="144x144" href="/apple-touch-icon-144x144.png" />
  <link rel="apple-touch-icon-precomposed" sizes="60x60" href="/apple-touch-icon-60x60.png" />
  <link rel="apple-touch-icon-precomposed" sizes="120x120" href="/apple-touch-icon-120x120.png" />
  <link rel="apple-touch-icon-precomposed" sizes="76x76" href="/apple-touch-icon-76x76.png" />
  <link rel="apple-touch-icon-precomposed" sizes="152x152" href="/apple-touch-icon-152x152.png" />
  <link rel="icon" type="image/png" href="/favicon-196x196.png" sizes="196x196" />
  <link rel="icon" type="image/png" href="/favicon-96x96.png" sizes="96x96" />
  <link rel="icon" type="image/png" href="/favicon-32x32.png" sizes="32x32" />
  <link rel="icon" type="image/png" href="/favicon-16x16.png" sizes="16x16" />
  <link rel="icon" type="image/png" href="/favicon-128.png" sizes="128x128" />
  <meta name="application-name" content="Your Money Advice"/>
  <meta name="msapplication-TileColor" content="#FFFFFF" />
  <meta name="msapplication-TileImage" content="/mstile-144x144.png" />
  <meta name="msapplication-square70x70logo" content="/mstile-70x70.png" />
  <meta name="msapplication-square150x150logo" content="/mstile-150x150.png" />
  <meta name="msapplication-wide310x150logo" content="/mstile-310x150.png" />
  <meta name="msapplication-square310x310logo" content="/mstile-310x310.png" />
  <meta http-equiv="imagetoolbar" content="no">
  <%= stylesheet_link_tag 'publify_admin' %>
  <%= javascript_include_tag 'publify_admin' %>
  <%= csrf_meta_tags %>
</head>
<body>
  <nav class='navbar navbar-default navbar-fixed-top' role="navigation">
    <div class="navbar-header">
      <%= link_to content_tag(:span, '', class: 'glyphicon glyphicon-home'), {controller: 'admin/dashboard'}, {class: "navbar-brand"} %>
      <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#sidebar-top">
        <span class="sr-only">Toggle navigation</span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
      </button>
    </div>
    <div class="collapse navbar-collapse" id="sidebar-top">
      <ul class='nav navbar-nav'>
        <li class='dropdown'>
          <a class="dropdown-toggle" data-toggle="dropdown" href="#">
            <%= t("admin.menu.campaigns")%>
            <b class="caret"></b>
          </a>
          <ul class="dropdown-menu" role="menu" aria-labelledby="dLabel">
            <li><%= link_to(t("admin.menu.all_campaigns"), admin_campaigns_path) %></li>
            <li><%= link_to(t("admin.menu.new_campaign"), new_admin_campaign_path) %></li>
          </ul>
        </li>
        <% for pm in current_user.project_modules %>
          <% if AccessControl.submenus_for(current_user.profile_label, pm.name.to_sym).size == 0 %>
            <%= tab_for(pm) %>
          <% else %>
          <li class='dropdown'>
            <a class="dropdown-toggle" data-toggle="dropdown" href="#">
              <%= pm.menu_name %>
              <b class="caret"></b>
            </a>
            <ul class="dropdown-menu" role="menu" aria-labelledby="dLabel">
              <%= subtabs_for(pm.name.to_sym)%>
            </ul>
          </li>
          <%end %>
        <% end %>
      </ul>
      <ul class='nav navbar-nav pull-right'>
        <li class='dropdown'>
          <a class="dropdown-toggle" data-toggle="dropdown" href="#">
            <%= t("admin.menu.logged_in_as", login: current_user.display_name) %>
            <b class="caret"></b>
          </a>
          <ul class="dropdown-menu" role="menu" aria-labelledby="dLabel">
            <li><%= link_to t("admin.menu.profile"), edit_admin_profile_path %></li>
            <li role="presentation" class="divider"></li>
            <li><%= link_to t("admin.menu.logout").html_safe, logout_path %></li>
          </ul>
        </li>
      </ul>
      <ul class='nav navbar-nav pull-right'>
        <li class='dropdown'>
            <a class="dropdown-toggle" data-toggle="dropdown" href="#">
              <%= t(".new")%>
              <b class="caret"></b>
            </a>
          <ul class="dropdown-menu" role="menu" aria-labelledby="dLabel">
            <li><%= link_to(t("admin.menu.new_campaign"), new_admin_campaign_path) %></li>
            <li><%= link_to(t("admin.menu.new_article"), new_admin_content_path) %></li>
            <li><%= link_to(t("admin.menu.new_page"), new_admin_page_path) %></li>
            <li><%= link_to(t("admin.menu.new_media"), admin_resources_path) %></li>
            <li><%= link_to(t("admin.menu.new_note"), admin_notes_path) %></li>
          </ul>
        </li>
      </ul>
    </div>
  </nav>
  <div id='main'>
    <div class='row'>
      <div class='col-md-12'>
        <div style='margin-top:20px'>
          <%= render 'shared/flash', flash: flash %>
        </div>
        <%- if content_for?(:page_heading) %>
          <div class='page-header'>
            <%= yield :page_heading %>
          </div>
        <%- end %>
        <%= yield  %>
      </div>
    </div>
  <footer>
    <div class='row'>
      <div class='col-md-12'>
        <%= link_to(this_blog.blog_name, this_blog.base_url) %> <%= t("admin.menu.powered_by")%> Publify <%=h PUBLIFY_VERSION %> – Icons courtesy of <a href='http://glyphicons.com/'>Glyphicons</a>
      </div>
    </div>
  </footer>
</div>
</body>
</html>
<commit_msg>Fix home link icon in admin top left corner.<commit_after><!DOCTYPE html>
<html>
<head>
  <meta http-equiv="Content-type" content="text/html; charset=utf-8">
  <title><%= this_blog.blog_name %> – <%= controller.controller_name %></title>
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <link rel="apple-touch-icon-precomposed" sizes="57x57" href="/apple-touch-icon-57x57.png" />
  <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/apple-touch-icon-114x114.png" />
  <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/apple-touch-icon-72x72.png" />
  <link rel="apple-touch-icon-precomposed" sizes="144x144" href="/apple-touch-icon-144x144.png" />
  <link rel="apple-touch-icon-precomposed" sizes="60x60" href="/apple-touch-icon-60x60.png" />
  <link rel="apple-touch-icon-precomposed" sizes="120x120" href="/apple-touch-icon-120x120.png" />
  <link rel="apple-touch-icon-precomposed" sizes="76x76" href="/apple-touch-icon-76x76.png" />
  <link rel="apple-touch-icon-precomposed" sizes="152x152" href="/apple-touch-icon-152x152.png" />
  <link rel="icon" type="image/png" href="/favicon-196x196.png" sizes="196x196" />
  <link rel="icon" type="image/png" href="/favicon-96x96.png" sizes="96x96" />
  <link rel="icon" type="image/png" href="/favicon-32x32.png" sizes="32x32" />
  <link rel="icon" type="image/png" href="/favicon-16x16.png" sizes="16x16" />
  <link rel="icon" type="image/png" href="/favicon-128.png" sizes="128x128" />
  <meta name="application-name" content="Your Money Advice"/>
  <meta name="msapplication-TileColor" content="#FFFFFF" />
  <meta name="msapplication-TileImage" content="/mstile-144x144.png" />
  <meta name="msapplication-square70x70logo" content="/mstile-70x70.png" />
  <meta name="msapplication-square150x150logo" content="/mstile-150x150.png" />
  <meta name="msapplication-wide310x150logo" content="/mstile-310x150.png" />
  <meta name="msapplication-square310x310logo" content="/mstile-310x310.png" />
  <meta http-equiv="imagetoolbar" content="no">
  <%= stylesheet_link_tag 'publify_admin' %>
  <%= javascript_include_tag 'publify_admin' %>
  <%= csrf_meta_tags %>
</head>
<body>
  <nav class='navbar navbar-default navbar-fixed-top' role="navigation">
    <div class="navbar-header">
      <%= link_to content_tag(:span, '', class: 'glyphicon glyphicon-home'), admin_dashboard_path, {class: "navbar-brand"} %>
      <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#sidebar-top">
        <span class="sr-only">Toggle navigation</span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
      </button>
    </div>
    <div class="collapse navbar-collapse" id="sidebar-top">
      <ul class='nav navbar-nav'>
        <li class='dropdown'>
          <a class="dropdown-toggle" data-toggle="dropdown" href="#">
            <%= t("admin.menu.campaigns")%>
            <b class="caret"></b>
          </a>
          <ul class="dropdown-menu" role="menu" aria-labelledby="dLabel">
            <li><%= link_to(t("admin.menu.all_campaigns"), admin_campaigns_path) %></li>
            <li><%= link_to(t("admin.menu.new_campaign"), new_admin_campaign_path) %></li>
          </ul>
        </li>
        <% for pm in current_user.project_modules %>
          <% if AccessControl.submenus_for(current_user.profile_label, pm.name.to_sym).size == 0 %>
            <%= tab_for(pm) %>
          <% else %>
          <li class='dropdown'>
            <a class="dropdown-toggle" data-toggle="dropdown" href="#">
              <%= pm.menu_name %>
              <b class="caret"></b>
            </a>
            <ul class="dropdown-menu" role="menu" aria-labelledby="dLabel">
              <%= subtabs_for(pm.name.to_sym)%>
            </ul>
          </li>
          <%end %>
        <% end %>
      </ul>
      <ul class='nav navbar-nav pull-right'>
        <li class='dropdown'>
          <a class="dropdown-toggle" data-toggle="dropdown" href="#">
            <%= t("admin.menu.logged_in_as", login: current_user.display_name) %>
            <b class="caret"></b>
          </a>
          <ul class="dropdown-menu" role="menu" aria-labelledby="dLabel">
            <li><%= link_to t("admin.menu.profile"), edit_admin_profile_path %></li>
            <li role="presentation" class="divider"></li>
            <li><%= link_to t("admin.menu.logout").html_safe, logout_path %></li>
          </ul>
        </li>
      </ul>
      <ul class='nav navbar-nav pull-right'>
        <li class='dropdown'>
            <a class="dropdown-toggle" data-toggle="dropdown" href="#">
              <%= t(".new")%>
              <b class="caret"></b>
            </a>
          <ul class="dropdown-menu" role="menu" aria-labelledby="dLabel">
            <li><%= link_to(t("admin.menu.new_campaign"), new_admin_campaign_path) %></li>
            <li><%= link_to(t("admin.menu.new_article"), new_admin_content_path) %></li>
            <li><%= link_to(t("admin.menu.new_page"), new_admin_page_path) %></li>
            <li><%= link_to(t("admin.menu.new_media"), admin_resources_path) %></li>
            <li><%= link_to(t("admin.menu.new_note"), admin_notes_path) %></li>
          </ul>
        </li>
      </ul>
    </div>
  </nav>
  <div id='main'>
    <div class='row'>
      <div class='col-md-12'>
        <div style='margin-top:20px'>
          <%= render 'shared/flash', flash: flash %>
        </div>
        <%- if content_for?(:page_heading) %>
          <div class='page-header'>
            <%= yield :page_heading %>
          </div>
        <%- end %>
        <%= yield  %>
      </div>
    </div>
  <footer>
    <div class='row'>
      <div class='col-md-12'>
        <%= link_to(this_blog.blog_name, this_blog.base_url) %> <%= t("admin.menu.powered_by")%> Publify <%=h PUBLIFY_VERSION %> – Icons courtesy of <a href='http://glyphicons.com/'>Glyphicons</a>
      </div>
    </div>
  </footer>
</div>
</body>
</html>

{'fraction_non_alphanumeric': 0.1994814319170291, 'fraction_numerical': 0.030946804951488792, 'mean_word_length': 2.9830113257828113, 'pattern_counts': {'":': 0, '<': 319, '<?xml version=': 0, '>': 319, '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': '964046', 'n_tokens_mistral': 4469, 'n_tokens_neox': 4064, 'n_words': 659}