Commit 8c670b66f00966b10c5ddfa02dae71a1e36e8be3

Authored by Dmitriy Zaporozhets
1 parent 8fb9dccd

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 54 = @repository.path_to_repo
55 55  
56 56 %li
  57 + %span.light Size
  58 + %strong
  59 + = repository_size(@project)
  60 +
  61 + %li
57 62 %span.light last commit:
58 63 %strong
59 64 = last_commit(@project)
... ...