mirror of
https://git.wownero.com/wownero/onion-wownero-blockchain-explorer.git
synced 2024-08-15 00:33:12 +00:00
add domain_url
This commit is contained in:
parent
86dea80659
commit
7fca3a5df7
2 changed files with 4 additions and 3 deletions
|
@ -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}
|
||||
};
|
||||
|
||||
|
|
|
@ -78,7 +78,7 @@
|
|||
{{/found_our_outputs}}
|
||||
</h3>
|
||||
<h4>
|
||||
<a href="{{shortcut_url}}" target="_blank">link to this page</a>
|
||||
<a href="{{domain_url}}{{shortcut_url}}" target="_blank">link to this page</a>
|
||||
</h4>
|
||||
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue