diff --git a/src/page.h b/src/page.h index 7b717c4..301b1bd 100644 --- a/src/page.h +++ b/src/page.h @@ -1525,7 +1525,8 @@ public: context["outputs"] = outputs; context["sum_xmr"] = xmreg::xmr_amount_to_str(sum_xmr); - context["inputs"] = inputs; + context["inputs"] = inputs; + context["show_inputs"] = false; // read my_outputs.html string my_outputs_html = xmreg::read(TMPL_MY_OUTPUTS); diff --git a/src/templates/my_outputs.html b/src/templates/my_outputs.html index a00cce5..2105f75 100644 --- a/src/templates/my_outputs.html +++ b/src/templates/my_outputs.html @@ -68,38 +68,43 @@
-

Inputs

-
- {{#inputs}} -

Key image: {{key_image}}, amount {{key_image_amount}}

- {{#mixins}} -
Mixin of pub key: {{mixin_pub_key}}
- {{#mixin_outputs}} -
- uses outputs from tx: - {{mix_tx_hash}} -
- {{#found_outputs}} - -
- Output public key: {{my_public_key}}, - amount: {{amount}}, - is ours: - {{#mine_output}} - {{mine_output}} - {{/mine_output}} - {{^mine_output}} - {{mine_output}} - {{/mine_output}} -
- - {{/found_outputs}} - {{/mixin_outputs}} - - {{/mixins}} - {{/inputs}} -
+ {{#show_inputs}} + +

Inputs

+
+ {{#inputs}} +

Key image: {{key_image}}, amount {{key_image_amount}}

+ {{#mixins}} +
Mixin of pub key: {{mixin_pub_key}}
+ {{#mixin_outputs}} +
+ uses outputs from tx: + {{mix_tx_hash}} +
+ {{#found_outputs}} + +
+ Output public key: {{my_public_key}}, + amount: {{amount}}, + is ours: + {{#mine_output}} + {{mine_output}} + {{/mine_output}} + {{^mine_output}} + {{mine_output}} + {{/mine_output}} +
+ + {{/found_outputs}} + {{/mixin_outputs}} + + {{/mixins}} + {{/inputs}} + +
+ + {{/show_inputs}}