Tarea #401 Links con texto subrayado

This commit is contained in:
gerard 2018-07-19 11:32:33 +02:00
parent fffa27d621
commit 000af8169f
8 changed files with 25 additions and 13 deletions

View File

@ -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;

View File

@ -37,7 +37,8 @@
<td rowspan="{{
::sale.components.length + 1
}}" number pointer
ng-click="$ctrl.showDescriptor($event, sale.itemFk)">{{::sale.itemFk}}</td>
ng-click="$ctrl.showDescriptor($event, sale.itemFk)"
class="link">{{("000000"+sale.itemFk).slice(-6)}}</td>
<td rowspan="{{
::sale.components.length + 1
}}"><vn-fetched-tags concept="sale.concept" tags="sale.item.tags"/></td>

View File

@ -34,8 +34,9 @@
ng-click="$ctrl.deleteExpedition(expedition)">delete</i>
</vn-td>
<vn-td pointer number
ng-click="$ctrl.showDescriptor($event, expedition.item.id)">
{{::expedition.itemFk}}
ng-click="$ctrl.showDescriptor($event, expedition.item.id)"
class="link">
{{("000000"+expedition.itemFk).slice(-6)}}
</vn-td>
<vn-td>{{::expedition.item.name}}</vn-td>
<vn-td>{{::expedition.box.name}}</vn-td>

View File

@ -28,8 +28,9 @@
</vn-check>
</vn-td>
<vn-td number pointer
ng-click="$ctrl.showDescriptor($event, sale.itemFk)">
{{::sale.itemFk}}
ng-click="$ctrl.showDescriptor($event, sale.itemFk)"
class="link">
{{("000000"+sale.itemFk).slice(-6)}}
</vn-td>
<vn-td><vn-fetched-tags concept="sale.concept" tags="sale.item.tags"/></vn-td>
<vn-td number>{{::sale.quantity}}</vn-td>

View File

@ -33,8 +33,10 @@
ng-if="sale.quantity != sale.originalQuantity"
vn-tooltip="The quantity do not match"></vn-icon>
</vn-td>
<vn-td number pointer ng-click="$ctrl.showDescriptor($event, sale.itemFk)">
{{::sale.itemFk}}
<vn-td number pointer
ng-click="$ctrl.showDescriptor($event, sale.itemFk)"
class="link">
{{("000000"+sale.itemFk).slice(-6)}}
</vn-td>
<vn-td><vn-fetched-tags concept="sale.concept" tags="sale.item.tags"/></vn-td>
<vn-td>{{::sale.quantity}}</vn-td>

View File

@ -88,8 +88,8 @@
on-error-src/>
</vn-td>
<vn-td ng-click="$ctrl.showDescriptor($event, sale.itemFk)"
pointer number>
{{::sale.itemFk}}
pointer number class="link">
{{("000000"+sale.itemFk).slice(-6)}}
</vn-td>
<vn-td><vn-fetched-tags concept="sale.concept" tags="sale.item.tags"/></vn-td>
<vn-td ng-if="!$ctrl.isEditable" number>{{sale.quantity}}</vn-td>

View File

@ -74,7 +74,8 @@
<vn-icon ng-show="sale.reserved" icon="icon-reserved"></vn-icon>
</td>
<td number pointer
ng-click="$ctrl.showDescriptor($event, sale.itemFk)">
ng-click="$ctrl.showDescriptor($event, sale.itemFk)"
class="link">
{{("000000"+sale.itemFk).slice(-6)}}
</td>
<td><vn-fetched-tags concept="sale.concept" tags="sale.item.tags"/></td>

View File

@ -31,8 +31,9 @@
<vn-tbody>
<vn-tr ng-repeat="sale in sales">
<vn-td number pointer
ng-click="$ctrl.showDescriptor($event, sale.itemFk)">
{{::sale.itemFk}}
ng-click="$ctrl.showDescriptor($event, sale.itemFk)"
class="link">
{{("000000"+sale.itemFk).slice(-6)}}
</vn-td>
<vn-td><vn-fetched-tags concept="sale.concept" tags="sale.item.tags"/></vn-td>
<vn-td number>{{::sale.quantity}}</vn-td>