From 61e4f89838f7c781b80fa12e7fbeac656df7f173 Mon Sep 17 00:00:00 2001 From: ArnaudCerisier <arnaud.cerisier@gmail.com> Date: Tue, 13 Jun 2017 12:12:34 +0200 Subject: [PATCH] [fix] Comments corrections --- www/css/style.css | 4 ++++ www/index.html | 2 +- www/js/plugins.js | 2 +- www/js/services/tx-services.js | 6 +++--- www/templates/wallet/view_tx.html | 6 ++++-- www/templates/wallet/view_wallet_tx.html | 4 ++-- 6 files changed, 15 insertions(+), 9 deletions(-) diff --git a/www/css/style.css b/www/css/style.css index 6fb70264..b2dfe7fe 100644 --- a/www/css/style.css +++ b/www/css/style.css @@ -239,6 +239,10 @@ width: 40%; } +.item-tx .width-cup{ + width: 175px; +} + .expert-mode .item-tx .item-note { top : 8%; } diff --git a/www/index.html b/www/index.html index 14155429..059d33fe 100644 --- a/www/index.html +++ b/www/index.html @@ -191,7 +191,7 @@ <!--<script src="dist/dist_js/plugins/rml9/plugin-05-service_api.js"></script>--> <!--<script src="dist/dist_js/plugins/rml9/plugin-06-settings.js"></script>--> <!--<script src="dist/dist_js/plugins/rml9/plugin-07-add_map.js"></script>--> - <script src="dist/dist_js/plugins/rml9/plugin-final.js"></script> + <!--<script src="dist/dist_js/plugins/rml9/plugin-final.js"></script>--> <!--endRemoveIf(no-plugin)--> diff --git a/www/js/plugins.js b/www/js/plugins.js index 85edac59..b3bbfa6a 100644 --- a/www/js/plugins.js +++ b/www/js/plugins.js @@ -14,7 +14,7 @@ angular.module('cesium.plugins', [ // endRemoveIf(ubuntu) // RML9 plugin: - 'cesium.rml9.plugin', + //'cesium.rml9.plugin', // ES plugin (Cesium+): 'cesium.es.plugin' diff --git a/www/js/services/tx-services.js b/www/js/services/tx-services.js index 244965fe..3ee92300 100644 --- a/www/js/services/tx-services.js +++ b/www/js/services/tx-services.js @@ -337,13 +337,13 @@ angular.module('cesium.tx.services', ['ngApi', 'cesium.bma.services', }); }; - // [NEW] Manage click on the export button + // Download transactions history on current wallet downloadAccountStatement = function(pubkey, options) { // Load account TX data fromTime = options; - console.debug("[RML9] call method onExportButtonClick() on pubkey: " + pubkey); + console.debug("[TX] Download transactions history on pubkey: " + pubkey); return $q.all([ $translate(['ACCOUNT.HEADERS.TIME', @@ -396,9 +396,9 @@ angular.module('cesium.tx.services', ['ngApi', 'cesium.bma.services', return { id: id, load: loadData, + downloadAccountStatement: downloadAccountStatement, // api extension api: api, - downloadAccountStatement: downloadAccountStatement }; } diff --git a/www/templates/wallet/view_tx.html b/www/templates/wallet/view_tx.html index 930ab8d1..43edb846 100644 --- a/www/templates/wallet/view_tx.html +++ b/www/templates/wallet/view_tx.html @@ -12,10 +12,12 @@ <i class="ion-key gray"></i> {{::tx.pubkey | formatPubkey}} </a> - <h3 class="dark visible-xs item-text-wrap"> + <p class="dark visible-xs width-cup text-italic" + data-toggle="tooltip" + title="{{::tx.comment}}"> <i class="ion-ios-chatbubble-outline"></i> {{::tx.comment}}<br/> - </h3> + </p> <h4> <span class="gray" > {{::tx.time | formatFromNow}} | {{::tx.time | formatDate}} diff --git a/www/templates/wallet/view_wallet_tx.html b/www/templates/wallet/view_wallet_tx.html index 9e87fd9d..e72076ef 100644 --- a/www/templates/wallet/view_wallet_tx.html +++ b/www/templates/wallet/view_wallet_tx.html @@ -59,7 +59,7 @@ <div class="row no-padding"> - <div class="col col-15 no-padding hidden-xs"></div> + <div class="col col-15 no-padding hidden-xs hidden-sm"></div> <div class="col"> @@ -113,7 +113,7 @@ </div> </div> - <div class="col col-15 no-padding hidden-xs"></div> + <div class="col col-15 no-padding hidden-xs hidden-sm"></div> </div> -- GitLab