show.html.haml 1.42 KB
Newer Older
1
= render 'clone_panel'
2

3
.row
4
  .span9
5
    = render "events/event_last_push", event: @last_push
6
    .content_list
7
    .loading.hide
8
  .span3
9
    .light-well
10
      %h3.page-title
11 12 13
        = @project.name
      - if @project.description.present?
        %p.light= @project.description
14

15 16
      %hr
      %p
17 18 19 20 21 22 23 24 25 26 27 28
      %p
        %span.light Repo size is
        #{@project.repository.size} MB
      %p
        %span.light Created at
        #{@project.created_at.stamp('Aug 22, 2013')}
      %p
        %span.light Owned by
        - if @project.group
          #{link_to @project.group.name, @project.group} Group
        - else
          #{link_to @project.owner_name, @project.owner}
29 30
      - if @project.forked_from_project
        %p
31
          %i.icon-code-fork
32 33
          Forked from:
          = link_to @project.forked_from_project.name_with_namespace, project_path(@project.forked_from_project)
34

35 36
      %hr
      %p
37
        = link_to pluralize(@repository.round_commit_count, 'commit'), project_commits_path(@project, @ref || @repository.root_ref)
38 39 40
      %p
        = link_to pluralize(@repository.branch_names.count, 'branch'), project_repository_path(@project)
      %p
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
41
        = link_to pluralize(@repository.tag_names.count, 'tag'), project_tags_path(@project)
42 43 44 45 46 47

      - if @project.gitlab_ci?
        %hr
        = link_to @project.gitlab_ci_service.builds_path do
          = image_tag @project.gitlab_ci_service.status_img_path, alt: "build status"