From 8c670b66f00966b10c5ddfa02dae71a1e36e8be3 Mon Sep 17 00:00:00 2001 From: Dmitriy Zaporozhets Date: Thu, 19 Dec 2013 17:15:48 +0200 Subject: [PATCH] Show repo size for project show page in admin area --- app/views/admin/projects/show.html.haml | 5 +++++ 1 file changed, 5 insertions(+), 0 deletions(-) diff --git a/app/views/admin/projects/show.html.haml b/app/views/admin/projects/show.html.haml index dfb9755..5ac36a1 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) -- libgit2 0.21.2