Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Marko <peter.marko@siemens.com>2019-02-14 01:38:11 +0300
committerPeter Marko <peter.marko@siemens.com>2019-05-29 17:08:25 +0300
commit40490cc4922fedbf4512109429cdc2c5aed65ded (patch)
treebb2be4aa53b223c2031c3accd4b5398ab90b7598 /app/helpers/storage_helper.rb
parent106f449d6938280452c52e1ee86461e5ceed685e (diff)
Add wiki size to project statistics
Diffstat (limited to 'app/helpers/storage_helper.rb')
-rw-r--r--app/helpers/storage_helper.rb3
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