<commit_before><!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <meta name="description" content="">
  <meta name="author" content="">
  <meta name="csrf-token" content="<%= get_csrf_token() %>">

  <!-- Compressed CSS -->
  <link href="//cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" rel='stylesheet' type='text/css'>

  <!-- Compressed JavaScript -->
  <script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
  <script src="//cdnjs.cloudflare.com/ajax/libs/foundation/6.3.0/js/foundation.min.js"></script>

  <title>Podbaby<%= if assigns[:page_title] do %> - <%= assigns[:page_title] %><% end %></title>

  <link rel="stylesheet" href="<%= static_path(@conn, "/css/app.css") %>">
</head>

<body class="no-js">

  <div class="title-bar" data-responsive-toggle="top-bar" data-hide-for="large">
    <button class="menu-icon" type="button" data-toggle></button>
    <div class="title-bar-title">Menu</div>
  </div>

  <div class="top-bar stacked-for-medium" id="top-bar">
    <div class="top-bar-left">
      <ul class="vertical large-horizontal menu">
        <li><a id="index-link" href="<%= if assigns[:user] do subscriptions_path(@conn, :index) else page_path(@conn, :index) end %>"><i class="fa fa-headphones"></i> Podbaby</a></li>
        <%= if assigns[:user] do %>
        <%= active_link(@conn, raw("<i class=\"fa fa-podcast\"></i> My podcasts"), to: subscriptions_path(@conn, :index), wrap_tag: :li) %>
        <%= active_link(@conn, raw("<i class=\"fa fa-bookmark\"></i> Bookmarks"), to: bookmarks_path(@conn, :index), wrap_tag: :li) %>
        <% end %>
        <%= active_link(@conn, raw("<i class=\"fa fa-flash\"></i> New releases"), to: episodes_path(@conn, :index), wrap_tag: :li) %>
        <%= active_link(@conn, raw("<i class=\"fa fa-search\"></i> Discover"), to: podcasts_path(@conn, :index), wrap_tag: :li) %>
        <%= active_link(@conn, raw("<i class=\"fa fa-folder-open\"></i> Browse"), to: categories_path(@conn, :index), wrap_tag: :li) %>
        <%= if assigns[:is_admin] do %>
        <%= active_link(@conn, raw("<i class=\"fa fa-plus\"></i> Add new"), to: admin_podcasts_path(@conn, :new), wrap_tag: :li) %>
        <% end %>
      </ul>

    </div>

    <div class="top-bar-right">

      <%= if assigns[:user] do %>
      <ul class="dropdown menu" data-dropdown-menu>
        <li>
          <a href="#"><%= assigns[:user].name %></a>
          <ul class="menu vertical">
            <li><%= link(raw("<i class=\"fa fa-envelope\"></i> Change email"), to: auth_path(@conn, :change_email)) %></li>
            <li><%= link(raw("<i class=\"fa fa-lock\"></i> Change password"), to: auth_path(@conn, :change_password)) %></li>
            <li><%= link(raw("<i class=\"fa fa-sign-out\"></i> Sign out"), to: auth_path(@conn, :logout)) %></li>
          </ul>
        </li>
      </ul>
      <% else %>

      <ul class="vertical large-horizontal menu">
        <%= active_link(@conn, raw("<i class=\"fa fa-sign-in\"></i> Login"), to: login_url(@conn), wrap_tag: :li, active: ~r/\/login*/) %>
        <%= active_link(@conn, raw("<i class=\"fa fa-user-plus\"></i> Signup"), to: auth_path(@conn, :signup,  next: @conn.request_path), wrap_tag: :li, active: ~r/\/signup*/) %>
      </ul>

      <% end %>
   </div>

  </div>

  <div id="notifications" class="row column">
    <%= if msg = get_flash(@conn, :info) do %>
    <div class="callout">
      <p><%= msg %></p>
    </div>
    <% end %>
    <%= if msg = get_flash(@conn, :warning) do %>
    <div class="callout warning">
      <p><%= msg %></p>
    </div>
    <% end %><commit_msg>Fix dropdown menu in mobile<commit_after><!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <meta name="description" content="">
  <meta name="author" content="">
  <meta name="csrf-token" content="<%= get_csrf_token() %>">

  <!-- Compressed CSS -->
  <link href="//cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" rel='stylesheet' type='text/css'>

  <!-- Compressed JavaScript -->
  <script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
  <script src="//cdnjs.cloudflare.com/ajax/libs/foundation/6.3.0/js/foundation.min.js"></script>

  <title>Podbaby<%= if assigns[:page_title] do %> - <%= assigns[:page_title] %><% end %></title>

  <link rel="stylesheet" href="<%= static_path(@conn, "/css/app.css") %>">
</head>

<body class="no-js">

  <div class="title-bar" data-responsive-toggle="top-bar" data-hide-for="large">
    <button class="menu-icon" type="button" data-toggle></button>
    <div class="title-bar-title">Menu</div>
  </div>

  <div class="top-bar stacked-for-medium" id="top-bar">
    <div class="top-bar-left">
      <ul class="vertical large-horizontal menu">
        <li><a id="index-link" href="<%= if assigns[:user] do subscriptions_path(@conn, :index) else page_path(@conn, :index) end %>"><i class="fa fa-headphones"></i> Podbaby</a></li>
        <%= if assigns[:user] do %>
        <%= active_link(@conn, raw("<i class=\"fa fa-podcast\"></i> My podcasts"), to: subscriptions_path(@conn, :index), wrap_tag: :li) %>
        <%= active_link(@conn, raw("<i class=\"fa fa-bookmark\"></i> Bookmarks"), to: bookmarks_path(@conn, :index), wrap_tag: :li) %>
        <% end %>
        <%= active_link(@conn, raw("<i class=\"fa fa-flash\"></i> New releases"), to: episodes_path(@conn, :index), wrap_tag: :li) %>
        <%= active_link(@conn, raw("<i class=\"fa fa-search\"></i> Discover"), to: podcasts_path(@conn, :index), wrap_tag: :li) %>
        <%= active_link(@conn, raw("<i class=\"fa fa-folder-open\"></i> Browse"), to: categories_path(@conn, :index), wrap_tag: :li) %>
        <%= if assigns[:is_admin] do %>
        <%= active_link(@conn, raw("<i class=\"fa fa-plus\"></i> Add new"), to: admin_podcasts_path(@conn, :new), wrap_tag: :li) %>
        <% end %>
      </ul>

    </div>

    <div class="top-bar-right">

      <%= if assigns[:user] do %>
      <ul class="dropdown menu show-for-large" data-dropdown-menu>
        <li>
          <a href="#"><%= assigns[:user].name %></a>
          <ul class="menu vertical">
            <li><%= link(raw("<i class=\"fa fa-envelope\"></i> Change email"), to: auth_path(@conn, :change_email)) %></li>
            <li><%= link(raw("<i class=\"fa fa-lock\"></i> Change password"), to: auth_path(@conn, :change_password)) %></li>
            <li><%= link(raw("<i class=\"fa fa-sign-out\"></i> Sign out"), to: auth_path(@conn, :logout)) %></li>
          </ul>
        </li>
      </ul>

      <ul class="vertical large-horizontal menu hide-for-large">
        <li>
          <ul class="menu vertical">
            <li><%= link(raw("<i class=\"fa fa-envelope\"></i> Change email"), to: auth_path(@conn, :change_email)) %></li>
            <li><%= link(raw("<i class=\"fa fa-lock\"></i> Change password"), to: auth_path(@conn, :change_password)) %></li>
            <li><%= link(raw("<i class=\"fa fa-sign-out\"></i> Sign out"), to: auth_path(@conn, :logout)) %></li>
          </ul>
        </li>
      </ul>
      <% else %>

      <ul class="vertical large-horizontal menu">
        <%= active_link(@conn, raw("<i class=\"fa fa-sign-in\"></i> Login"), to: login_url(@conn), wrap_tag: :li, active: ~r/\/login*/) %>
        <%= active_link(@conn, raw("<i class=\"fa fa-user-plus\"></i> Signup"), to: auth_path(@conn, :signup,  next: @conn.request_path), wrap_tag: :li, active: ~r/\/signup*/) %>
      </ul>

      <% end %>
   </div>

  </div>

  <div id="notifications" class="row column">
    <%= if msg = get_flash(@conn, :info) do %>
    <div class="callout">
      <p><%= msg %></p>
    </div>
    <% end %>
    <%= if msg = get_flash(@conn, :warning) do %>
    <div class="callout warning">
      <p><%= msg %></p>
    </div>
    <% end %>
{'fraction_non_alphanumeric': 0.24123404782554825, 'fraction_numerical': 0.002725808450006195, 'mean_word_length': 3.3281501340482573, 'pattern_counts': {'":': 0, '<': 262, '<?xml version=': 0, '>': 262, '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': '1782814', 'n_tokens_mistral': 3001, 'n_tokens_neox': 2812, 'n_words': 595}