gitlabhq/gitlab-ci

View on GitHub
app/views/projects/_public.html.haml

Summary

Maintainability
Test Coverage
= content_for :title do
  %h3.project-title
    Public projects

.bs-callout
  = link_to new_user_sessions_path(state: generate_oauth_state(request.fullpath)) do
    %strong Login with GitLab
  to see your private projects

- if @projects.present?
  .projects
    %table.table
      %tr
        %th Name
        %th Last commit
        %th Access
        %th Commits
      = render @projects
  = paginate @projects
- else
  %h4 No public projects yet