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/inbounds.html | 44 ++++++++++++++++++++++---------------------- 1 file changed, 22 insertions(+), 22 deletions(-) (limited to 'web/html/xui/inbounds.html') diff --git a/web/html/xui/inbounds.html b/web/html/xui/inbounds.html index 7dc5ff5f..677a3074 100644 --- a/web/html/xui/inbounds.html +++ b/web/html/xui/inbounds.html @@ -141,11 +141,11 @@ {{ i18n "pages.inbounds.totalDownUp" }}: - [[ sizeFormat(total.up) ]] / [[ sizeFormat(total.down) ]] + [[ SizeFormatter.sizeFormat(total.up) ]] / [[ SizeFormatter.sizeFormat(total.down) ]] {{ i18n "pages.inbounds.totalUsage" }}: - [[ sizeFormat(total.up + total.down) ]] + [[ SizeFormatter.sizeFormat(total.up + total.down) ]] {{ i18n "pages.inbounds.inboundCount" }}: @@ -375,19 +375,19 @@ - - [[ sizeFormat(dbInbound.up + dbInbound.down) ]] / + + [[ SizeFormatter.sizeFormat(dbInbound.up + dbInbound.down) ]] / - - [[ sizeFormat(dbInbound.up + dbInbound.down) ]] / + + [[ SizeFormatter.sizeFormat(dbInbound.up + dbInbound.down) ]] /