Sha256: d49f2d55b0c2bb03f7612dd9b3d24e557d0969ca088d420c73ad309bc4e965b1

Contents?: true

Size: 1.22 KB

Versions: 9

Compression:

Stored size: 1.22 KB

Contents

<% content_for :page_title do %>
  <h1>Repositories</h1>
<% end %>
<% content_for :primary_navigation do %>
  <%= link_to 'Add a repository', new_repository_path, class: 'btn secondary' %>
<% end %>

<div class="wrapper <%= 'filtering-enabled' if @repositories.size > 10 %>">
  <section>
    <header class="section-header repository-search-header">
      <input class="repository-search" placeholder="Search <%= @repositories.size %> repositories" />
    </header>
    <ul class="repository-table-header">
      <li class="col">Owner<li>
        <li class="col">Name</li>
    </ul>
    <ul class="repository-lst">
      <% @repositories.each do |repository| %>
        <li class="search-item <%= contributor_class(current_user.repositories_contributed_to, repository.id) %>" data-search="<%= repository.github_repo_name %>" data-repository-id="<%= repository.id %>">
          <%= link_to repository_path(repository), class: 'commits-path' do %>
            <span class="col"><%= repository.owner %></span>
            <span class="col"><%= repository.name %></span>
          <% end %>
        </li>
      <% end %>
    </ul>

    <%= link_to 'show all repositories', '#', class: 'btn secondary show-all-repositories' %></p>
  </section>

</div>

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
shipit-engine-0.39.0 app/views/shipit/repositories/index.html.erb
shipit-engine-0.38.0 app/views/shipit/repositories/index.html.erb
shipit-engine-0.37.0 app/views/shipit/repositories/index.html.erb
shipit-engine-0.36.1 app/views/shipit/repositories/index.html.erb
shipit-engine-0.36.0 app/views/shipit/repositories/index.html.erb
shipit-engine-0.35.1 app/views/shipit/repositories/index.html.erb
shipit-engine-0.35.0 app/views/shipit/repositories/index.html.erb
shipit-engine-0.34.0 app/views/shipit/repositories/index.html.erb
shipit-engine-0.33.0 app/views/shipit/repositories/index.html.erb