Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
fc3dfb61
Commit
fc3dfb61
authored
Aug 25, 2016
by
Sean McGivern
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use icon helper
parent
3d984948
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
app/views/admin/system_info/show.html.haml
app/views/admin/system_info/show.html.haml
+2
-2
No files found.
app/views/admin/system_info/show.html.haml
View file @
fc3dfb61
...
@@ -12,7 +12,7 @@
...
@@ -12,7 +12,7 @@
-
if
@cpus
-
if
@cpus
%h1
=
"
#{
@cpus
.
length
}
cores"
%h1
=
"
#{
@cpus
.
length
}
cores"
-
else
-
else
%i
.fa.fa-warning.text-warning
=
icon
(
'warning'
,
class:
'text-warning'
)
Unable to collect CPU info
Unable to collect CPU info
.col-sm-4
.col-sm-4
.light-well
.light-well
...
@@ -21,7 +21,7 @@
...
@@ -21,7 +21,7 @@
-
if
@memory
-
if
@memory
%h1
=
"
#{
number_to_human_size
(
@memory
.
active_bytes
)
}
/
#{
number_to_human_size
(
@memory
.
total_bytes
)
}
"
%h1
=
"
#{
number_to_human_size
(
@memory
.
active_bytes
)
}
/
#{
number_to_human_size
(
@memory
.
total_bytes
)
}
"
-
else
-
else
%i
.fa.fa-warning.text-warning
=
icon
(
'warning'
,
class:
'text-warning'
)
Unable to collect memory info
Unable to collect memory info
.col-sm-4
.col-sm-4
.light-well
.light-well
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment