From 9b57d06099f40b721c05b619fb9e81df96da0c54 Mon Sep 17 00:00:00 2001 From: xmohammad1 <117955130+xmohammad1@users.noreply.github.com> Date: Wed, 9 Oct 2024 01:36:00 +0330 Subject: [PATCH 1/2] add on_hold status --- index.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/index.html b/index.html index 15c8f99..26bd551 100644 --- a/index.html +++ b/index.html @@ -3979,8 +3979,8 @@

Dynamic Title

+ x-text="[status == 'active' || status == 'on_hold' ? $t('active') : status == 'limited' ? $t('limited') : status == 'expired' ? $t('expired') : $t('disabled')]" + :class="[[status == 'active' || status == 'on_hold' ? 'bg-green-500' : status == 'limited' ? 'bg-red-600' : status == 'expired' ? 'bg-orange-600' : 'bg-gray-600']">
@@ -6277,4 +6277,4 @@

- \ No newline at end of file + From 8a9ac7e2596754b0fee5dd4cb52529dece49b3f9 Mon Sep 17 00:00:00 2001 From: xmohammad1 <117955130+xmohammad1@users.noreply.github.com> Date: Wed, 9 Oct 2024 01:38:26 +0330 Subject: [PATCH 2/2] removed extra [ on last commit --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index 26bd551..35c692c 100644 --- a/index.html +++ b/index.html @@ -3980,7 +3980,7 @@

Dynamic Title

class="px-4 py-2 rounded-full inline-block shadow-md shadow-green-900 font-bold text-gray-200" x-data="{status: '{{ user.status.value }}'}" x-text="[status == 'active' || status == 'on_hold' ? $t('active') : status == 'limited' ? $t('limited') : status == 'expired' ? $t('expired') : $t('disabled')]" - :class="[[status == 'active' || status == 'on_hold' ? 'bg-green-500' : status == 'limited' ? 'bg-red-600' : status == 'expired' ? 'bg-orange-600' : 'bg-gray-600']"> + :class="[status == 'active' || status == 'on_hold' ? 'bg-green-500' : status == 'limited' ? 'bg-red-600' : status == 'expired' ? 'bg-orange-600' : 'bg-gray-600']">