Add size information back to project summary screen.

This commit is contained in:
Nathan Neulinger 2015-08-20 12:47:55 +00:00
parent 8819007c83
commit 3930ec4490
1 changed files with 5 additions and 1 deletions

View File

@ -23,6 +23,10 @@
= link_to namespace_project_tags_path(@project.namespace, @project) do
= pluralize(number_with_delimiter(@repository.tag_names.count), 'tag')
%li
= link_to namespace_project_path(@project.namespace, @project) do
= repository_size
- if !prefer_readme? && @repository.readme
%li
= 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