diff options
author | Peter Marko <peter.marko@siemens.com> | 2019-02-13 23:38:11 +0100 |
---|---|---|
committer | Peter Marko <peter.marko@siemens.com> | 2019-05-29 16:08:25 +0200 |
commit | 40490cc4922fedbf4512109429cdc2c5aed65ded (patch) | |
tree | bb2be4aa53b223c2031c3accd4b5398ab90b7598 /app/helpers/storage_helper.rb | |
parent | 106f449d6938280452c52e1ee86461e5ceed685e (diff) | |
download | gitlab-ce-40490cc4922fedbf4512109429cdc2c5aed65ded.tar.gz |
Add wiki size to project statistics
Diffstat (limited to 'app/helpers/storage_helper.rb')
-rw-r--r-- | app/helpers/storage_helper.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/helpers/storage_helper.rb b/app/helpers/storage_helper.rb index e80b3f2b54a..ecf37bae6b3 100644 --- a/app/helpers/storage_helper.rb +++ b/app/helpers/storage_helper.rb @@ -12,10 +12,11 @@ module StorageHelper def storage_counters_details(statistics) counters = { counter_repositories: storage_counter(statistics.repository_size), + counter_wikis: storage_counter(statistics.wiki_size), counter_build_artifacts: storage_counter(statistics.build_artifacts_size), counter_lfs_objects: storage_counter(statistics.lfs_objects_size) } - _("%{counter_repositories} repositories, %{counter_build_artifacts} build artifacts, %{counter_lfs_objects} LFS") % counters + _("%{counter_repositories} repositories, %{counter_wikis} wikis, %{counter_build_artifacts} build artifacts, %{counter_lfs_objects} LFS") % counters end end |