Welcome to mirror list, hosted at ThFree Co, Russian Federation.

show.html.haml « projects « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: f54e5486e96cf160f2dacc8c2e9d660f2568eccf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
= content_for :meta_tags do
  - if current_user
    = auto_discovery_link_tag(:atom, namespace_project_path(@project.namespace, @project, format: :atom, private_token: current_user.private_token), title: "#{@project.name} activity")

- if current_user && can?(current_user, :download_code, @project)
  = render 'shared/no_ssh'
  = render 'shared/no_password'

= render "home_panel"
- if @repository.changelog
  %li.hidden-xs
    = link_to changelog_url(@project) do
      Changelog
- if @repository.contribution_guide
  %li.hidden-xs
    = link_to contribution_guide_url(@project) do
      Contribution guide
- if @repository.license
  %li
    = link_to license_url(@project) do
      License

.project-home-links
  - unless @project.empty_repo?
    = link_to pluralize(number_with_delimiter(@repository.commit_count), 'commit'), namespace_project_commits_path(@project.namespace, @project, @ref || @repository.root_ref)
    = link_to pluralize(number_with_delimiter(@repository.branch_names.count), 'branch'), namespace_project_branches_path(@project.namespace, @project)
    = link_to pluralize(number_with_delimiter(@repository.tag_names.count), 'tag'), namespace_project_tags_path(@project.namespace, @project)
    %span.light.prepend-left-20= repository_size

= render 'shared/show_aside'

.row
  %section.col-md-8
    = render 'section'
  %aside.col-md-4.project-side
    = render 'aside'