Commit 8c670b66f00966b10c5ddfa02dae71a1e36e8be3
1 parent
8fb9dccd
Exists in
master
and in
4 other branches
Show repo size for project show page in admin area
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Showing
1 changed file
with
5 additions
and
0 deletions
Show diff stats
app/views/admin/projects/show.html.haml
@@ -54,6 +54,11 @@ | @@ -54,6 +54,11 @@ | ||
54 | = @repository.path_to_repo | 54 | = @repository.path_to_repo |
55 | 55 | ||
56 | %li | 56 | %li |
57 | + %span.light Size | ||
58 | + %strong | ||
59 | + = repository_size(@project) | ||
60 | + | ||
61 | + %li | ||
57 | %span.light last commit: | 62 | %span.light last commit: |
58 | %strong | 63 | %strong |
59 | = last_commit(@project) | 64 | = last_commit(@project) |