= 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" .project-stats %ul.nav.nav-pills %li = link_to namespace_project_commits_path(@project.namespace, @project, @ref || @repository.root_ref) do = pluralize(number_with_delimiter(@repository.commit_count), 'commit') %li = link_to namespace_project_branches_path(@project.namespace, @project) do = pluralize(number_with_delimiter(@repository.branch_names.count), 'branch') %li = link_to namespace_project_tags_path(@project.namespace, @project) do = pluralize(number_with_delimiter(@repository.tag_names.count), 'tag') - if @repository.changelog %li = link_to changelog_url(@project) do Changelog - if @repository.license %li = link_to license_url(@project) do License - if @repository.contribution_guide %li = link_to contribution_guide_url(@project) do Contribution guide %hr %section - if readme = @repository.readme %article.readme-holder#README .clearfix %small.pull-right = link_to namespace_project_blob_path(@project.namespace, @project, tree_join(@repository.root_ref, readme.name)), class: 'light' do %i.fa.fa-file = readme.name .wiki = render_readme(readme) - else %h4 Add README to this repository