From 000af8169f8e33cc466f85d7a8771d9d4c7aceec Mon Sep 17 00:00:00 2001 From: gerard Date: Thu, 19 Jul 2018 11:32:33 +0200 Subject: [PATCH] Tarea #401 Links con texto subrayado --- client/salix/src/styles/misc.scss | 7 ++++++- client/ticket/src/component/index.html | 3 ++- client/ticket/src/expedition/index.html | 5 +++-- client/ticket/src/sale-checked/index.html | 5 +++-- client/ticket/src/sale-tracking/index.html | 6 ++++-- client/ticket/src/sale/index.html | 4 ++-- client/ticket/src/summary/index.html | 3 ++- client/ticket/src/volume/index.html | 5 +++-- 8 files changed, 25 insertions(+), 13 deletions(-) diff --git a/client/salix/src/styles/misc.scss b/client/salix/src/styles/misc.scss index bce8fe1df..a7228afc9 100644 --- a/client/salix/src/styles/misc.scss +++ b/client/salix/src/styles/misc.scss @@ -17,7 +17,12 @@ input[type=reset]::-moz-focus-inner { border: none; } - +.link{ + text-decoration: underline; + &:hover{ + color: $main-01; + } +} .form { height: 100%; box-sizing: border-box; diff --git a/client/ticket/src/component/index.html b/client/ticket/src/component/index.html index f524355f9..fca54dd25 100644 --- a/client/ticket/src/component/index.html +++ b/client/ticket/src/component/index.html @@ -37,7 +37,8 @@ {{::sale.itemFk}} + ng-click="$ctrl.showDescriptor($event, sale.itemFk)" + class="link">{{("000000"+sale.itemFk).slice(-6)}} diff --git a/client/ticket/src/expedition/index.html b/client/ticket/src/expedition/index.html index db963d6ea..df159b9e0 100644 --- a/client/ticket/src/expedition/index.html +++ b/client/ticket/src/expedition/index.html @@ -34,8 +34,9 @@ ng-click="$ctrl.deleteExpedition(expedition)">delete - {{::expedition.itemFk}} + ng-click="$ctrl.showDescriptor($event, expedition.item.id)" + class="link"> + {{("000000"+expedition.itemFk).slice(-6)}} {{::expedition.item.name}} {{::expedition.box.name}} diff --git a/client/ticket/src/sale-checked/index.html b/client/ticket/src/sale-checked/index.html index 6a9aa9517..39dbf7b6f 100644 --- a/client/ticket/src/sale-checked/index.html +++ b/client/ticket/src/sale-checked/index.html @@ -28,8 +28,9 @@ - {{::sale.itemFk}} + ng-click="$ctrl.showDescriptor($event, sale.itemFk)" + class="link"> + {{("000000"+sale.itemFk).slice(-6)}} {{::sale.quantity}} diff --git a/client/ticket/src/sale-tracking/index.html b/client/ticket/src/sale-tracking/index.html index 51aa81be8..3ec916fb7 100644 --- a/client/ticket/src/sale-tracking/index.html +++ b/client/ticket/src/sale-tracking/index.html @@ -33,8 +33,10 @@ ng-if="sale.quantity != sale.originalQuantity" vn-tooltip="The quantity do not match"> - - {{::sale.itemFk}} + + {{("000000"+sale.itemFk).slice(-6)}} {{::sale.quantity}} diff --git a/client/ticket/src/sale/index.html b/client/ticket/src/sale/index.html index ff5a1116a..55a49eef1 100644 --- a/client/ticket/src/sale/index.html +++ b/client/ticket/src/sale/index.html @@ -88,8 +88,8 @@ on-error-src/> - {{::sale.itemFk}} + pointer number class="link"> + {{("000000"+sale.itemFk).slice(-6)}} {{sale.quantity}} diff --git a/client/ticket/src/summary/index.html b/client/ticket/src/summary/index.html index eec303d66..70bba27cb 100644 --- a/client/ticket/src/summary/index.html +++ b/client/ticket/src/summary/index.html @@ -74,7 +74,8 @@ + ng-click="$ctrl.showDescriptor($event, sale.itemFk)" + class="link"> {{("000000"+sale.itemFk).slice(-6)}} diff --git a/client/ticket/src/volume/index.html b/client/ticket/src/volume/index.html index 4d5b25550..80dcbc41a 100644 --- a/client/ticket/src/volume/index.html +++ b/client/ticket/src/volume/index.html @@ -31,8 +31,9 @@ - {{::sale.itemFk}} + ng-click="$ctrl.showDescriptor($event, sale.itemFk)" + class="link"> + {{("000000"+sale.itemFk).slice(-6)}} {{::sale.quantity}}