From cd3df01431c3e019816252aa1f598a2a4769be10 Mon Sep 17 00:00:00 2001 From: maxgrapps Date: Tue, 21 May 2019 18:10:20 +0300 Subject: [PATCH] content issues, added errors to template eex --- .../images/errors-tpl/tx-not-found.html | 4 +-- .../templates/block_transaction/404.html.eex | 15 ++++++++ .../templates/transaction/not_found.html.eex | 36 +++++++++++++++++++ 3 files changed, 53 insertions(+), 2 deletions(-) diff --git a/apps/block_scout_web/assets/static/images/errors-tpl/tx-not-found.html b/apps/block_scout_web/assets/static/images/errors-tpl/tx-not-found.html index 126146d10e..462f782d4d 100644 --- a/apps/block_scout_web/assets/static/images/errors-tpl/tx-not-found.html +++ b/apps/block_scout_web/assets/static/images/errors-tpl/tx-not-found.html @@ -14,7 +14,7 @@
1 -

If you have just submitted this transaction please wait for at least 30 seconds before refreshing this page.

+

If you have just submitted this transaction please wait for at least 30 seconds before refreshing this page.

2 @@ -28,7 +28,7 @@
4 -

If it still does not show up after 1 hour, please check with your sender/exchange/wallet/transaction provider for additional & information.

+

If it still does not show up after 1 hour, please check with your sender/exchange/wallet/transaction provider for additional information.

diff --git a/apps/block_scout_web/lib/block_scout_web/templates/block_transaction/404.html.eex b/apps/block_scout_web/lib/block_scout_web/templates/block_transaction/404.html.eex index 68faa6fb73..0a776e4a9a 100644 --- a/apps/block_scout_web/lib/block_scout_web/templates/block_transaction/404.html.eex +++ b/apps/block_scout_web/lib/block_scout_web/templates/block_transaction/404.html.eex @@ -1,3 +1,4 @@ +<%#
@@ -14,3 +15,17 @@
+%> + +
+
+
+ Block Not Found +
+
+

Lorem Ipsum Dolor

+

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua

+ Back Home +
+
+
\ No newline at end of file diff --git a/apps/block_scout_web/lib/block_scout_web/templates/transaction/not_found.html.eex b/apps/block_scout_web/lib/block_scout_web/templates/transaction/not_found.html.eex index 97df28640a..574307c193 100644 --- a/apps/block_scout_web/lib/block_scout_web/templates/transaction/not_found.html.eex +++ b/apps/block_scout_web/lib/block_scout_web/templates/transaction/not_found.html.eex @@ -1,3 +1,4 @@ +<%#
@@ -44,4 +45,39 @@
+
+%> + +
+
+
+ Block Not Found +
+
+

Sorry, We are unable to locate this transaction Hash

+
+
+
+ 1 +

If you have just submitted this transaction please wait for at least 30 seconds before refreshing this page.

+
+
+ 2 +

It could still be in the TX Pool of a different node, waiting to be broadcasted.

+
+
+
+
+ 3 +

During times when the network is busy (i.e during ICOs) it can take a while for your transaction to propagate through the network and for us to index it.

+
+
+ 4 +

If it still does not show up after 1 hour, please check with your sender/exchange/wallet/transaction provider for additional information.

+
+
+
+ Back Home +
+
\ No newline at end of file