Ver código fonte

refactor: simplify storage information display

The code in `info_messages.sh` has been refactored to improve the readability and conciseness of the storage information display. The labels for total and used space have been shortened to "Total" and "Used" respectively.
Daniel Gibbs 2 anos atrás
pai
commit
ee738a699c
1 arquivos alterados com 2 adições e 2 exclusões
  1. 2 2
      lgsm/modules/info_messages.sh

+ 2 - 2
lgsm/modules/info_messages.sh

@@ -143,8 +143,8 @@ fn_info_message_server_resource() {
 	{
 		echo -e "${bold}${lightyellow}Storage${default}"
 		echo -e "${lightblue}Filesystem:\t${default}${filesystem}"
-		echo -e "${lightblue}Total:\t\t${default}${totalspace}"
-		echo -e "${lightblue}Used:\t\t${default}${usedspace}"
+		echo -e "${lightblue}Total:\t${default}${totalspace}"
+		echo -e "${lightblue}Used:\t${default}${usedspace}"
 		echo -e "${lightblue}Available:\t${default}${availspace}"
 	} | column -s $'\t' -t
 	echo -e ""