summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-12-19 17:15:48 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-12-19 17:15:48 +0200
commit8c670b66f00966b10c5ddfa02dae71a1e36e8be3 (patch)
tree887ec77019d8a3c92a692379678876b2443cca07 /app
parent8fb9dccd3b6df116c5b449e21a3e24b1114e9bf6 (diff)
downloadgitlab-ce-8c670b66f00966b10c5ddfa02dae71a1e36e8be3.tar.gz
Show repo size for project show page in admin area
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app')
-rw-r--r--app/views/admin/projects/show.html.haml5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/views/admin/projects/show.html.haml b/app/views/admin/projects/show.html.haml
index dfb9755ebc1..5ac36a1acb3 100644
--- a/app/views/admin/projects/show.html.haml
+++ b/app/views/admin/projects/show.html.haml
@@ -54,6 +54,11 @@
= @repository.path_to_repo
%li
+ %span.light Size
+ %strong
+ = repository_size(@project)
+
+ %li
%span.light last commit:
%strong
= last_commit(@project)