From baf0b2f08ce9dede58f965c16970a2fb37fcb415 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gabriel=20Baz=C3=A1n?= Date: Fri, 27 May 2016 15:06:41 -0300 Subject: [PATCH] tx-details refactor --- Gruntfile.js | 5 +- public/views/includes/tx-details.html | 159 ------------------------- public/views/modals/tx-details.html | 122 +++++++++---------- src/css/ionic-migration.css | 4 - src/js/controllers/modals/txDetails.js | 85 +++++++------ 5 files changed, 100 insertions(+), 275 deletions(-) delete mode 100644 public/views/includes/tx-details.html diff --git a/Gruntfile.js b/Gruntfile.js index f06465281..998453b7e 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -61,7 +61,7 @@ module.exports = function(grunt) { 'src/js/routes.js', 'src/js/services/*.js', 'src/js/models/*.js', - 'src/js/controllers/*.js' + 'src/js/controllers/**/*.js' ], tasks: ['concat:js'] } @@ -179,11 +179,10 @@ module.exports = function(grunt) { files: { 'i18n/po/template.pot': [ 'public/index.html', - 'public/views/*.html', 'public/views/**/*.html', 'src/js/routes.js', 'src/js/services/*.js', - 'src/js/controllers/*.js' + 'src/js/controllers/**/*.js' ] } }, diff --git a/public/views/includes/tx-details.html b/public/views/includes/tx-details.html deleted file mode 100644 index d7a507a10..000000000 --- a/public/views/includes/tx-details.html +++ /dev/null @@ -1,159 +0,0 @@ -
- - - -
-
-
-
- sync -

Received

-
-
- sync -

Sent

-
-
- sync -

Moved

-
- -
- + - - - {{index.showTx.amountStr}} -
-
- - {{alternativeAmountStr}} - - - {{rateStr}} ({{rateDate | amDateFormat:'MM/DD/YYYY HH:mm a'}}) - -
-
-
- - -
-
- -

Details

- -
    - -
  • - To - - - {{index.showTx.merchant.domain}} - {{index.showTx.merchant.domain}} - - - {{index.showTx.labelTo}} - - - -
  • - -
  • - Recipients - {{index.showTx.recipientCount}} - - - -
  • - -
    -
    - -
  • - - This transaction has become invalid; possibly due to a double spend attempt. - -
  • - Date - - - - -
  • -
  • - Fee - {{index.showTx.feeStr}} -
  • -
  • - Note - {{index.showTx.message}} -
  • -
  • - Merchant message - - {{index.showTx.merchant.pr.pd.memo}} - -
  • -
  • - Confirmations - - - Unconfirmed - - - {{index.showTx.confirmations}} - - - {{index.showTx.safeConfirmed}} - - - -
  • -
- -
-

Participants

-
    -
  • - - - - - - {{c.copayerName}} ({{'Me'|translate}}) -
  • -
-
- -
-
- -
-
- -
-
-
diff --git a/public/views/modals/tx-details.html b/public/views/modals/tx-details.html index e7e1e87ef..8ce4dd4ed 100644 --- a/public/views/modals/tx-details.html +++ b/public/views/modals/tx-details.html @@ -1,61 +1,62 @@ - + -