From 0a207b8a2c0629b7f1996025a40a10fbe58d05d0 Mon Sep 17 00:00:00 2001
From: "Shishkevich D." <135337715+shishkevichd@users.noreply.github.com>
Date: Fri, 7 Mar 2025 09:07:23 +0000
Subject: refactor: merging all util functions into classes
---
web/html/xui/inbound_client_table.html | 22 +++++++++++-----------
1 file changed, 11 insertions(+), 11 deletions(-)
(limited to 'web/html/xui/inbound_client_table.html')
diff --git a/web/html/xui/inbound_client_table.html b/web/html/xui/inbound_client_table.html
index 13593cea..fbf0699a 100644
--- a/web/html/xui/inbound_client_table.html
+++ b/web/html/xui/inbound_client_table.html
@@ -55,18 +55,18 @@
- | ↑[[ sizeFormat(getUpStats(record, client.email)) ]] |
- ↓[[ sizeFormat(getDownStats(record, client.email)) ]] |
+ ↑[[ SizeFormatter.sizeFormat(getUpStats(record, client.email)) ]] |
+ ↓[[ SizeFormatter.sizeFormat(getDownStats(record, client.email)) ]] |
| {{ i18n "remained" }} |
- [[ sizeFormat(getRemStats(record, client.email)) ]] |
+ [[ SizeFormatter.sizeFormat(getRemStats(record, client.email)) ]] |
- | [[ sizeFormat(getSumStats(record, client.email)) ]] |
+ [[ SizeFormatter.sizeFormat(getSumStats(record, client.email)) ]] |
|
@@ -124,9 +124,9 @@
- [[ remainedDays(client.expiryTime) ]]
+ [[ remainedDays(client.expiryTime) ]]
-
+
@@ -172,7 +172,7 @@
{{ i18n "pages.inbounds.traffic" }} |
- | [[ sizeFormat(getUpStats(record, client.email) + getDownStats(record, client.email)) ]] |
+ [[ SizeFormatter.sizeFormat(getUpStats(record, client.email) + getDownStats(record, client.email)) ]] |
|
@@ -181,12 +181,12 @@
- | ↑[[ sizeFormat(getUpStats(record, client.email)) ]] |
- ↓[[ sizeFormat(getDownStats(record, client.email)) ]] |
+ ↑[[ SizeFormatter.sizeFormat(getUpStats(record, client.email)) ]] |
+ ↓[[ SizeFormatter.sizeFormat(getDownStats(record, client.email)) ]] |
| {{ i18n "remained" }} |
- [[ sizeFormat(getRemStats(record, client.email)) ]] |
+ [[ SizeFormatter.sizeFormat(getRemStats(record, client.email)) ]] |
@@ -244,7 +244,7 @@
- [[ remainedDays(client.expiryTime) ]]
+ [[ remainedDays(client.expiryTime) ]]