summaryrefslogtreecommitdiff
path: root/app/views/admin/system_info/show.html.haml
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-05-10 03:09:12 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2023-05-10 03:09:12 +0000
commit3591ecba91126089ebf916f9bd95fe497609920c (patch)
tree139e2f7ebdc0e11b62ad1b0e5bfbdf18a6f2ddf2 /app/views/admin/system_info/show.html.haml
parent38c1da5195bdcaab0b20bf6303a675b9283ac476 (diff)
downloadgitlab-ce-3591ecba91126089ebf916f9bd95fe497609920c.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/views/admin/system_info/show.html.haml')
-rw-r--r--app/views/admin/system_info/show.html.haml8
1 files changed, 4 insertions, 4 deletions
diff --git a/app/views/admin/system_info/show.html.haml b/app/views/admin/system_info/show.html.haml
index 097329a027c..75d23ee3094 100644
--- a/app/views/admin/system_info/show.html.haml
+++ b/app/views/admin/system_info/show.html.haml
@@ -7,7 +7,7 @@
= c.body do
%h4
= sprite_icon('pod', size: 18, css_class: 'gl-text-gray-700')
- = s_('CPU')
+ = _('CPU')
.data
- if @cpus
%h2= _('%{cores} cores') % { cores: @cpus.length }
@@ -19,7 +19,7 @@
= c.body do
%h4
= sprite_icon('status-health', size: 18, css_class: 'gl-text-gray-700')
- = s_('Memory Usage')
+ = _('Memory Usage')
.data
- if @memory
%h2 #{number_to_human_size(@memory.active_bytes)} / #{number_to_human_size(@memory.total_bytes)}
@@ -31,7 +31,7 @@
= c.body do
%h4
= sprite_icon('clock', size: 18, css_class: 'gl-text-gray-700')
- = s_('System started')
+ = _('System started')
.data
%h2= time_ago_with_tooltip(Rails.application.config.booted_at)
.col-sm
@@ -39,7 +39,7 @@
= c.body do
%h4
= sprite_icon('disk', size: 18, css_class: 'gl-text-gray-700')
- = s_('Disk Usage')
+ = _('Disk Usage')
.data
- @disks.each do |disk|
%h2 #{number_to_human_size(disk[:bytes_used])} / #{number_to_human_size(disk[:bytes_total])}