mirror of
https://github.com/neocities/neocities.git
synced 2025-07-23 02:56:05 +02:00
Touch up welcome page
This commit is contained in:
parent
602fc1a82d
commit
949380ed09
5 changed files with 198 additions and 180 deletions
|
@ -15,9 +15,9 @@ class Numeric
|
|||
# if space >= 1000000
|
||||
# "#{space/1000000} TB"
|
||||
if space >= 1000
|
||||
"#{space/1000} GB"
|
||||
"#{(space/1000).to_comma_separated} GB"
|
||||
else
|
||||
"#{space} MB"
|
||||
"#{space.to_comma_separated} MB"
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue