BigW Consortium Gitlab

_tile.html.haml 592 Bytes
Newer Older
1
- @projects.in_groups_of(3, false) do |projects|
2 3
  .row
    - projects.each_with_index do |project, i|
4 5 6 7 8 9 10 11 12 13
      %div.project_tile
        .title
          = link_to project_path(project) do
            %h3= truncate(project.name, :length => 28)
        .data
          %p
            %input{ :value => project.url_to_repo, :class => ['git-url', 'one_click_select', 'text', 'project_list_url'], :readonly => 'readonly' }
        .buttons
          %a.btn.info{:href => tree_project_ref_path(project, project.root_ref)} Browse code
          %a.btn{:href => project_commits_path(project)} Commits