From cb5a782c13a779501577259361dc5c03fe389d65 Mon Sep 17 00:00:00 2001 From: Xavier Fiechter Date: Fri, 6 Dec 2024 16:58:36 +0100 Subject: [PATCH] . --- django/templates/label_edit.html | 60 +++++++++++++++----------------- 1 file changed, 28 insertions(+), 32 deletions(-) diff --git a/django/templates/label_edit.html b/django/templates/label_edit.html index e6ff81b..e56d94a 100644 --- a/django/templates/label_edit.html +++ b/django/templates/label_edit.html @@ -136,39 +136,35 @@ Output in queue! This output is currently in the processing queue. It will be checked shortly. {% else %} + {% if object.type == "output" %} + {% switch output.get_spent_status %} + {% case "spent" %} +
+ Output spent! Blockchain records indicate that this output has been spent in another transaction. +
+ {% case "unspent" %} +
+ Output unspent! Blockchain records indicate that this output has not been spent yet. +
+ {% case "unconfirmed" %} +
+
+ + +
+ Output unconfirmed! Blockchain records indicate that this output has not been confirmed yet. +
+ {% endswitch %} + {% endif %} +{% endif %} - - {% if object.type == "output" %} - {% switch output.get_spent_status %} - {% case "spent" %} -
- Output spent! Blockchain records indicate that this output has been spent in another transaction. -
- {% case "unspent" %} -
- Output unspent! Blockchain records indicate that this output has not been spent yet. -
- {% case "unconfirmed" %} -
-
- - -
- Output unconfirmed! Blockchain records indicate that this output has not been confirmed yet. -
- {% endswitch %} - {% endif %} - - - - {% endif %} - - + +