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

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Neulinger <nneul@neulinger.org>2015-08-20 15:47:55 +0300
committerNathan Neulinger <nneul@neulinger.org>2015-08-20 15:47:55 +0300
commit3930ec44909b9bf7d3780ae31bfaeea132290842 (patch)
tree5b0ed505274ae232e3bc94b67dcd815c6da94362 /app/views/projects/show.html.haml
parent8819007c83fdf1ac642836640a37cc541f6eddc6 (diff)
Add size information back to project summary screen.
Diffstat (limited to 'app/views/projects/show.html.haml')
-rw-r--r--app/views/projects/show.html.haml6
1 files changed, 5 insertions, 1 deletions
diff --git a/app/views/projects/show.html.haml b/app/views/projects/show.html.haml
index ebbd3e477fc..507f2c7beb0 100644
--- a/app/views/projects/show.html.haml
+++ b/app/views/projects/show.html.haml
@@ -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 \ No newline at end of file