From a0cdaac37074f61ff776058daf71cadcc7b2a6d2 Mon Sep 17 00:00:00 2001 From: Tom Bloor Date: Fri, 17 Nov 2017 18:09:49 +0000 Subject: [PATCH] Refactored valid read template slightly and added merge link --- .../admin/organisations/valid_read.html.ep | 42 +++++++++++++++---- 1 file changed, 34 insertions(+), 8 deletions(-) diff --git a/templates/admin/organisations/valid_read.html.ep b/templates/admin/organisations/valid_read.html.ep index db6bd95..046f3f9 100644 --- a/templates/admin/organisations/valid_read.html.ep +++ b/templates/admin/organisations/valid_read.html.ep @@ -41,19 +41,34 @@ function initMap() {
- +
- +
- +
@@ -67,13 +82,21 @@ function initMap() {
- +
- pending ? '' : ' checked' %>> + pending ? '' : ' checked' %>>
@@ -92,6 +115,9 @@ function initMap() {
+
@@ -117,9 +143,9 @@ function initMap() {
From: <%= $transaction->buyer->name %>
To: <%= $transaction->seller->name %>
-
Value: <%= $transaction->value %>
-
Submitted At: <%= $transaction->submitted_at %>
-
Purchase Time: <%= $transaction->purchase_time %>
+
Value: <%= format_currency_from_db $transaction->value %>
+
Submitted At: <%= format_human_datetime $transaction->submitted_at %>
+
Purchase Time: <%= format_human_datetime $transaction->purchase_time %>
% }