diff --git a/src/page.h b/src/page.h index 737e6fc..a148821 100644 --- a/src/page.h +++ b/src/page.h @@ -2332,8 +2332,8 @@ show_my_outputs(string tx_hash_str, string pid_str = pod_to_hex(txd.payment_id); string pid8_str = pod_to_hex(txd.payment_id8); - string shortcut_url = domain - + (tx_prove ? "/prove" : "/myoutputs") + string shortcut_url = tx_prove + ? string("/prove") : string("/myoutputs") + '/' + tx_hash_str + '/' + xmr_address_str + '/' + viewkey_str; @@ -2367,6 +2367,7 @@ show_my_outputs(string tx_hash_str, {"payment_id8" , pid8_str}, {"decrypted_payment_id8", string{}}, {"tx_prove" , tx_prove}, + {"domain_url" , domain}, {"shortcut_url" , shortcut_url} }; diff --git a/src/templates/my_outputs.html b/src/templates/my_outputs.html index 41c399a..ea46014 100644 --- a/src/templates/my_outputs.html +++ b/src/templates/my_outputs.html @@ -78,7 +78,7 @@ {{/found_our_outputs}}