diff --git a/templates/accountactivation.html.tera b/templates/accountactivation.html.tera index 3200399..a43c722 100644 --- a/templates/accountactivation.html.tera +++ b/templates/accountactivation.html.tera @@ -5,59 +5,47 @@

-
-
- -
- - {% if flash %} - - {{ flash.1 }} - - {% endif %} - -

Account Activation

- -

User: {% if maybe_account_user %}{{ maybe_account_user.email }}{% else %}Not found{% endif %}

-

Status: - {% if user_account.disabled %} - Disabled by admin - {% elif user_account.paid %} - Paid - {% else %} - Not paid - {% endif %}

-

Account creation time: {{ (user_account.created_time_ms / 1000) | int | date(format="%Y-%m-%d %H:%M") }}

- -

Payment amount: {{ user_account.amount_owed_sat }} sats

- - {% if user_account.disabled %} - Please contact the admin to find out how to get your account re-enabled. - {% elif user_account.paid %} -

Payment time: {{ (user_account.payment_time_ms / 1000) | int | date(format="%Y-%m-%d %H:%M") }}

- {% if user.id == user_account.user_id %} -

Continue as activated user

-

Deactivate account

- {% endif %} - {% else %} -

A user bond is required to activate your account.

-

You can withdraw the bond at any time in the future when you deactivate your account (as long as you don't misbehave).

-

Payment request:

- -

-

-	    {{ user_account.invoice_payment_request }}
-	  
-

-

Open a channel to the market: {{ lightning_node_pubkey }}

- {% endif %} - -
- -
- -
- + {% if flash %} + + {{ flash.1 }} + + {% endif %} + +

Account Activation

+ +

User: {% if maybe_account_user %}{{ maybe_account_user.email }}{% else %}Not found{% endif %}

+

Status: + {% if user_account.disabled %} + Disabled by admin + {% elif user_account.paid %} + Paid + {% else %} + Not paid + {% endif %}

+

Account creation time: {{ (user_account.created_time_ms / 1000) | int | date(format="%Y-%m-%d %H:%M") }}

+ +

Payment amount: {{ user_account.amount_owed_sat }} sats

+ + {% if user_account.disabled %} + Please contact the admin to find out how to get your account re-enabled. + {% elif user_account.paid %} +

Payment time: {{ (user_account.payment_time_ms / 1000) | int | date(format="%Y-%m-%d %H:%M") }}

+ {% if user.id == user_account.user_id %} +

Continue as activated user

+

Deactivate account

+ {% endif %} + {% else %} +

A user bond is required to activate your account.

+

You can withdraw the bond at any time in the future when you deactivate your account (as long as you don't misbehave).

+

Payment request:

+ +

+

+      {{ user_account.invoice_payment_request }}
+    
+

+

Open a channel to the market: {{ lightning_node_pubkey }}

+ {% endif %}