Commit 677bf661 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Merge branch 'issue-2306-repo-size-display' into 'master'

Add size information back to project summary screen.


See merge request !1178
......@@ -23,6 +23,10 @@
= link_to namespace_project_tags_path(@project.namespace, @project) do
= pluralize(number_with_delimiter(@repository.tag_names.count), 'tag')
= link_to namespace_project_path(@project.namespace, @project) do
= repository_size
- if !prefer_readme? && @repository.readme
= link_to 'Readme', readme_path(@project)
......@@ -76,4 +80,4 @@
- if @project.project_member_by_id(current_user)
= link_to leave_namespace_project_project_members_path(@project.namespace, @project),
data: { confirm: leave_project_message(@project) }, method: :delete, title: 'Leave project', class: 'cred' do
Leave this project
Leave this project
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment