From 68367651450f12c7bc33de52766a961cd2d2fb8e Mon Sep 17 00:00:00 2001 From: blavenie <benoit.lavenier@e-is.pro> Date: Mon, 6 Feb 2017 14:50:47 +0100 Subject: [PATCH] Certificiations not display (small device only) - fix #304 --- www/templates/currency/view_currency.html | 41 +++++++++---------- .../wot/tabs/tab_given_certifications.html | 5 +++ .../wot/tabs/tab_received_certifications.html | 5 +++ www/templates/wot/view_certifications.html | 16 +++----- 4 files changed, 35 insertions(+), 32 deletions(-) diff --git a/www/templates/currency/view_currency.html b/www/templates/currency/view_currency.html index 4cfb84c51..1cc471329 100644 --- a/www/templates/currency/view_currency.html +++ b/www/templates/currency/view_currency.html @@ -6,31 +6,30 @@ {{currency}} </ion-nav-title> - <ion-content class="no-header"> - <ion-tabs class="tabs-icon-top tabs-positive"> + <ion-content class="no-header"> + <ion-tabs class="tabs-positive tabs-icon-top"> - <ion-tab title="{{'CURRENCY.VIEW.TAB_CURRENCY'|translate}}" icon="ion-stats-bars" - ui-sref="app.currency.tab_parameters"> - <ion-nav-view name="tab-parameters"></ion-nav-view> - </ion-tab> + <ion-tab title="{{'CURRENCY.VIEW.TAB_CURRENCY'|translate}}" icon="ion-stats-bars" + ui-sref="app.currency.tab_parameters"> + <ion-nav-view name="tab-parameters"></ion-nav-view> + </ion-tab> - <ion-tab title="{{'CURRENCY.VIEW.TAB_WOT'|translate}}" icon="ion-person-stalker" - ui-sref="app.currency.tab_wot"> - <ion-nav-view name="tab-wot"></ion-nav-view> - </ion-tab> + <ion-tab title="{{'CURRENCY.VIEW.TAB_WOT'|translate}}" icon="ion-person-stalker" + ui-sref="app.currency.tab_wot"> + <ion-nav-view name="tab-wot"></ion-nav-view> + </ion-tab> - <ion-tab id="helptip-currency-tab-peers" - title="{{'CURRENCY.VIEW.TAB_NETWORK'|translate}}" icon="ion-cloud" - ui-sref="app.currency.tab_network"> - <ion-nav-view name="tab-network"></ion-nav-view> - </ion-tab> + <ion-tab id="helptip-currency-tab-peers" + title="{{'CURRENCY.VIEW.TAB_NETWORK'|translate}}" icon="ion-cloud" + ui-sref="app.currency.tab_network"> + <ion-nav-view name="tab-network"></ion-nav-view> + </ion-tab> - <ion-tab title="{{'CURRENCY.VIEW.TAB_BLOCKS'|translate}}" icon="ion-lock-combination" - ui-sref="app.currency.tab_blocks"> - <ion-nav-view name="tab-blocks"></ion-nav-view> - </ion-tab> + <ion-tab title="{{'CURRENCY.VIEW.TAB_BLOCKS'|translate}}" icon="ion-lock-combination" + ui-sref="app.currency.tab_blocks"> + <ion-nav-view name="tab-blocks"></ion-nav-view> + </ion-tab> - - </ion-tabs> + </ion-tabs> </ion-content> </ion-view> diff --git a/www/templates/wot/tabs/tab_given_certifications.html b/www/templates/wot/tabs/tab_given_certifications.html index 6fc89cea5..8160321f5 100644 --- a/www/templates/wot/tabs/tab_given_certifications.html +++ b/www/templates/wot/tabs/tab_given_certifications.html @@ -1,4 +1,9 @@ <ion-view> + <ion-nav-buttons side="secondary"> + <button class="button button-icon button-clear icon ion-loop" ng-click="doUpdate()"> + </button> + </ion-nav-buttons> + <ion-content> <div class="center padding" ng-if="loading"> <ion-spinner icon="android"></ion-spinner> diff --git a/www/templates/wot/tabs/tab_received_certifications.html b/www/templates/wot/tabs/tab_received_certifications.html index 7c07272ef..2f9ccaa03 100644 --- a/www/templates/wot/tabs/tab_received_certifications.html +++ b/www/templates/wot/tabs/tab_received_certifications.html @@ -1,4 +1,9 @@ <ion-view> + <ion-nav-buttons side="secondary"> + <button class="button button-icon button-clear icon ion-loop" ng-click="doUpdate()"> + </button> + </ion-nav-buttons> + <ion-content> <div class="center padding" ng-if="loading"> <ion-spinner icon="android"></ion-spinner> diff --git a/www/templates/wot/view_certifications.html b/www/templates/wot/view_certifications.html index 101f78463..b848efc2b 100644 --- a/www/templates/wot/view_certifications.html +++ b/www/templates/wot/view_certifications.html @@ -1,30 +1,24 @@ -<ion-view left-buttons="leftButtons" > +<ion-view left-buttons="leftButtons" + cache-view="false"> <ion-nav-title> <span class="visible-xs visible-sm">{{::formData.uid}}</span> <span class="hidden-xs hidden-sm" translate="WOT.CERTIFICATIONS.TITLE" translate-values="{uid: formData.uid}"></span> </ion-nav-title> - <ion-nav-buttons side="secondary"> - <button class="button button-icon button-clear icon ion-loop" ng-click="doUpdate()"> - </button> - </ion-nav-buttons> - <ion-content class="certifications no-header"> - - <ion-tabs class="tabs-icon-top tabs-positive"> + <ion-tabs class="tabs-positive tabs-icon-top"> <ion-tab title="{{'WOT.CERTIFICATIONS.SUMMARY'|translate}}" icon="ion-ribbon-b" - ng-click="showCertificationsTab()"> + on-select="showCertificationsTab()"> <ion-nav-view name="tab-received-cert"></ion-nav-view> </ion-tab> <ion-tab title="{{'WOT.GIVEN_CERTIFICATIONS.SUMMARY'|translate}}" icon="ion-ribbon-a" - ng-click="showGivenCertificationsTab()"> + on-select="showGivenCertificationsTab()"> <ion-nav-view name="tab-given-cert"></ion-nav-view> </ion-tab> </ion-tabs> - </ion-content> <!-- fab button --> -- GitLab