Add tooltip and modified sref for previews

This commit is contained in:
Jorge Padawan 2021-01-11 10:36:20 +01:00
parent 5a30bf5fa4
commit af55e2cc32
11 changed files with 121 additions and 53 deletions

View File

@ -52,6 +52,7 @@ Suppliers: Proveedores
Summary: Vista previa Summary: Vista previa
Basic data: Datos básicos Basic data: Datos básicos
List: Listado List: Listado
Go to: Ir a
# Misc # Misc

View File

@ -11,8 +11,10 @@
<vn-horizontal class="vn-pa-md"> <vn-horizontal class="vn-pa-md">
<vn-one> <vn-one>
<h4> <h4>
<a ui-sref="account.card.basicData"> <a
<span translate vn-tooltip="Edit basic data">Basic Data</span> ui-sref="account.card.basicData({id:summary.id})"
target="_self">
<span translate vn-tooltip="Go to">Basic Data</span>
</a> </a>
</h4> </h4>
<vn-label-value <vn-label-value

View File

@ -54,7 +54,13 @@
</vn-range> </vn-range>
</vn-one> </vn-one>
<vn-auto> <vn-auto>
<h4 translate>Detail</h4> <h4>
<a
ui-sref="claim.card.detail({id:$ctrl.claim.id})"
target="_self">
<span translate vn-tooltip="Go to">Detail</span>
</a>
</h4>
<vn-data-viewer data="::$ctrl.summary.salesClaimed"> <vn-data-viewer data="::$ctrl.summary.salesClaimed">
<vn-table> <vn-table>
<vn-thead> <vn-thead>
@ -105,7 +111,13 @@
</vn-horizontal> </vn-horizontal>
</vn-auto> </vn-auto>
<vn-auto> <vn-auto>
<h4 translate>Development</h4> <h4>
<a
ui-sref="claim.card.development({id:$ctrl.claim.id})"
target="_self">
<span translate vn-tooltip="Go to">Development</span>
</a>
</h4>
<vn-data-viewer data="::$ctrl.summary.developments"> <vn-data-viewer data="::$ctrl.summary.developments">
<vn-table> <vn-table>
<vn-thead> <vn-thead>
@ -136,7 +148,13 @@
</vn-data-viewer> </vn-data-viewer>
</vn-auto> </vn-auto>
<vn-auto> <vn-auto>
<h4 translate>Action</h4> <h4>
<a
ui-sref="claim.card.action({id:$ctrl.claim.id})"
target="_self">
<span translate vn-tooltip="Go to">Action</span>
</a>
</h4>
<vn-data-viewer data="::$ctrl.summary.actions"> <vn-data-viewer data="::$ctrl.summary.actions">
<vn-table> <vn-table>
<vn-thead> <vn-thead>

View File

@ -13,8 +13,10 @@
<vn-horizontal> <vn-horizontal>
<vn-one> <vn-one>
<h4> <h4>
<a ui-sref="client.card.basicData"> <a
<span translate vn-tooltip="Edit basic data">Basic data</span> ui-sref="client.card.basicData({id:$ctrl.client.id})"
target="_self">
<span translate vn-tooltip="Go to">Basic data</span>
</a> </a>
</h4> </h4>
<vn-label-value label="Id" <vn-label-value label="Id"
@ -48,8 +50,10 @@
</vn-one> </vn-one>
<vn-one> <vn-one>
<h4> <h4>
<a ui-sref="client.card.fiscalData"> <a
<span translate vn-tooltip="Edit address data">Fiscal address</span> ui-sref="client.card.fiscalData({id:$ctrl.client.id})"
target="_self">
<span translate vn-tooltip="Go to">Fiscal address</span>
</a> </a>
</h4> </h4>
<vn-label-value label="Social name" <vn-label-value label="Social name"
@ -76,8 +80,10 @@
</vn-one> </vn-one>
<vn-one> <vn-one>
<h4> <h4>
<a ui-sref="client.card.fiscalData"> <a
<span translate vn-tooltip="Edit fiscal data">Fiscal data</span> ui-sref="client.card.fiscalData({id:$ctrl.client.id})"
target="_self">
<span translate vn-tooltip="Go to">Fiscal data</span>
</a> </a>
</h4> </h4>
<vn-vertical> <vn-vertical>
@ -120,8 +126,10 @@
</vn-one> </vn-one>
<vn-one> <vn-one>
<h4> <h4>
<a ui-sref="client.card.billingData"> <a
<span translate vn-tooltip="Edit billing data">Billing data</span> ui-sref="client.card.billingData({id:$ctrl.client.id})"
target="_self">
<span translate vn-tooltip="Go to">Billing data</span>
</a> </a>
</h4> </h4>
<vn-label-value label="Pay method" <vn-label-value label="Pay method"
@ -153,8 +161,10 @@
</vn-one> </vn-one>
<vn-one> <vn-one>
<h4> <h4>
<a ui-sref="client.card.address.index"> <a
<span translate vn-tooltip="Edit default address">Address</span> ui-sref="client.card.address.index({id:$ctrl.client.id})"
target="_self">
<span translate vn-tooltip="Go to">Address</span>
</a> </a>
</h4> </h4>
<vn-label-value label="Name" <vn-label-value label="Name"
@ -169,8 +179,10 @@
</vn-one> </vn-one>
<vn-one> <vn-one>
<h4> <h4>
<a ui-sref="client.card.webAccess"> <a
<span translate vn-tooltip="Edit web access">Web access</span> ui-sref="client.card.webAccess({id:$ctrl.client.id})"
target="_self">
<span translate vn-tooltip="Go to">Web access</span>
</a> </a>
</h4> </h4>
<vn-label-value label="User" <vn-label-value label="User"

View File

@ -26,8 +26,10 @@
</vn-one> </vn-one>
<vn-one name="basicData"> <vn-one name="basicData">
<h4> <h4>
<a ui-sref="item.card.basicData"> <a
<span translate vn-tooltip="Edit basic data">Basic data</span> ui-sref="item.card.basicData({id:$ctrl.item.id})"
target="_self">
<span translate vn-tooltip="Go to">Basic data</span>
</a> </a>
</h4> </h4>
<vn-label-value label="Name" <vn-label-value label="Name"
@ -58,8 +60,10 @@
</vn-one> </vn-one>
<vn-one name="otherData"> <vn-one name="otherData">
<h4> <h4>
<a ui-sref="item.card.basicData"> <a
<span translate vn-tooltip="Edit other data">Other data</span> ui-sref="item.card.basicData({id:$ctrl.item.id})"
target="_self">
<span translate vn-tooltip="Go to">Other data</span>
</a> </a>
</h4> </h4>
<vn-label-value label="Intrastat code" <vn-label-value label="Intrastat code"
@ -86,8 +90,10 @@
</vn-one> </vn-one>
<vn-one name="tags"> <vn-one name="tags">
<h4> <h4>
<a ui-sref="item.card.tags"> <a
<span translate vn-tooltip="Edit tags">Tags</span> ui-sref="item.card.tags({id:$ctrl.item.id})"
target="_self">
<span translate vn-tooltip="Go to">Tags</span>
</a> </a>
</h4> </h4>
<vn-label-value <vn-label-value
@ -99,7 +105,7 @@
<vn-one name="tax"> <vn-one name="tax">
<h4> <h4>
<a ui-sref="item.card.tax"> <a ui-sref="item.card.tax">
<span translate vn-tooltip="Edit tax">Tax</span> <span translate vn-tooltip="Go to">Tax</span>
</a> </a>
</h4> </h4>
<vn-label-value label="{{tax.country.country}}" <vn-label-value label="{{tax.country.country}}"
@ -109,8 +115,10 @@
</vn-one> </vn-one>
<vn-one name="niche"> <vn-one name="niche">
<h4> <h4>
<a ui-sref="item.card.niche"> <a
<span translate vn-tooltip="Edit niche">Niche</span> ui-sref="item.card.niche({id:$ctrl.item.id})"
target="_self">
<span translate vn-tooltip="Go to">Niche</span>
</a> </a>
</h4> </h4>
<vn-label-value label="{{niche.warehouse.name}}" <vn-label-value label="{{niche.warehouse.name}}"
@ -120,8 +128,10 @@
</vn-one> </vn-one>
<vn-one name="botanical"> <vn-one name="botanical">
<h4> <h4>
<a ui-sref="item.card.botanical"> <a
<span translate vn-tooltip="Edit botanical">Botanical</span> ui-sref="item.card.botanical({id:$ctrl.item.id})"
target="_self">
<span translate vn-tooltip="Go to">Botanical</span>
</a> </a>
</h4> </h4>
<vn-label-value label="Botanical" <vn-label-value label="Botanical"
@ -136,8 +146,10 @@
</vn-one> </vn-one>
<vn-one name="barcode"> <vn-one name="barcode">
<h4> <h4>
<a ui-sref="item.card.itemBarcode"> <a
<span translate vn-tooltip="Edit barcode">Barcode</span> ui-sref="item.card.itemBarcode({id:$ctrl.item.id})"
target="_self">
<span translate vn-tooltip="Go to">Barcode</span>
</a> </a>
</h4> </h4>
<p ng-repeat="barcode in $ctrl.summary.item.itemBarcode track by $index"> <p ng-repeat="barcode in $ctrl.summary.item.itemBarcode track by $index">

View File

@ -62,8 +62,10 @@
</vn-one> </vn-one>
<vn-auto> <vn-auto>
<h4> <h4>
<a ui-sref="route.card.tickets"> <a
<span translate vn-tooltip="Edit ticket">Ticket</span> ui-sref="route.card.tickets({id:$ctrl.route.id})"
target="_self">
<span translate vn-tooltip="Go to">Ticket</span>
</a> </a>
</h4> </h4>
<vn-table model="model"> <vn-table model="model">

View File

@ -11,8 +11,10 @@
<vn-horizontal> <vn-horizontal>
<vn-one> <vn-one>
<h4> <h4>
<a ui-sref="supplier.card.basicData"> <a
<span translate vn-tooltip="Edit basic data">Basic data</span> ui-sref="supplier.card.basicData({id:$ctrl.supplier.id})"
target="_self">
<span translate vn-tooltip="Go to">Basic data</span>
</a> </a>
</h4> </h4>
<vn-vertical> <vn-vertical>
@ -42,8 +44,10 @@
</vn-one> </vn-one>
<vn-one> <vn-one>
<h4> <h4>
<a ui-sref="supplier.card.billingData"> <a
<span translate vn-tooltip="Edit billing data">Billing data</span> ui-sref="supplier.card.billingData({id:$ctrl.supplier.id})"
target="_self">
<span translate vn-tooltip="Go to">Billing data</span>
</a> </a>
</h4> </h4>
<vn-label-value <vn-label-value
@ -72,8 +76,10 @@
<vn-horizontal> <vn-horizontal>
<vn-one> <vn-one>
<h4> <h4>
<a ui-sref="supplier.card.fiscalData"> <a
<span translate vn-tooltip="Edit fiscal data">Fiscal data</span> ui-sref="supplier.card.fiscalData({id:$ctrl.supplier.id})"
target="_self">
<span translate vn-tooltip="Go to">Fiscal data</span>
</a> </a>
</h4> </h4>
<vn-label-value <vn-label-value
@ -95,8 +101,10 @@
<vn-horizontal> <vn-horizontal>
<vn-one> <vn-one>
<h4> <h4>
<a ui-sref="supplier.card.fiscalData"> <a
<span translate vn-tooltip="Edit fiscal address">Fiscal address</span> ui-sref="supplier.card.fiscalData({id:$ctrl.supplier.id})"
target="_self">
<span translate vn-tooltip="Go to">Fiscal address</span>
</a> </a>
</h4> </h4>
<vn-label-value <vn-label-value

View File

@ -104,8 +104,9 @@
</vn-one> </vn-one>
<vn-auto name="sales"> <vn-auto name="sales">
<h4> <h4>
<a ui-sref="ticket.card.sale"> <a ui-sref="ticket.card.sale({id:$ctrl.ticket.id})"
<span translate vn-tooltip="Edit sale">Sale</span> target="_self">
<span translate vn-tooltip="Go to">Sale</span>
</a> </a>
</h4> </h4>
<vn-table> <vn-table>
@ -163,8 +164,10 @@
</vn-auto> </vn-auto>
<vn-one ng-if="$ctrl.summary.packagings.length != 0"> <vn-one ng-if="$ctrl.summary.packagings.length != 0">
<h4> <h4>
<a ui-sref="ticket.card.package"> <a
<span translate vn-tooltip="Edit packages">Packages</span> ui-sref="ticket.card.package({id:$ctrl.ticket.id})"
target="_self">
<span translate vn-tooltip="Go to">Packages</span>
</a> </a>
</h4> </h4>
<vn-table model="model"> <vn-table model="model">
@ -186,8 +189,10 @@
</vn-one> </vn-one>
<vn-one class="services" ng-if="$ctrl.summary.services.length != 0"> <vn-one class="services" ng-if="$ctrl.summary.services.length != 0">
<h4> <h4>
<a ui-sref="ticket.card.service"> <a
<span translate vn-tooltip="Edit service">Service</span> ui-sref="ticket.card.service({id:$ctrl.ticket.id})"
target="_self">
<span translate vn-tooltip="Go to">Service</span>
</a> </a>
</h4> </h4>
<vn-table model="model"> <vn-table model="model">
@ -215,8 +220,10 @@
<vn-horizontal> <vn-horizontal>
<vn-auto ng-if="$ctrl.summary.requests.length != 0"> <vn-auto ng-if="$ctrl.summary.requests.length != 0">
<h4> <h4>
<a ui-sref="ticket.card.request.index"> <a
<span translate vn-tooltip="Edit purchase request">Purchase request</span> ui-sref="ticket.card.request.index({id:$ctrl.ticket.id})"
target="_self">
<span translate vn-tooltip="Go to">Purchase request</span>
</a> </a>
</h4> </h4>
<vn-table model="model"> <vn-table model="model">

View File

@ -132,7 +132,13 @@
</vn-table> </vn-table>
</vn-auto> </vn-auto>
<vn-auto ng-if="$ctrl.travelThermographs.length != 0"> <vn-auto ng-if="$ctrl.travelThermographs.length != 0">
<h4 translate>Thermographs</h4> <h4>
<a
ui-sref="travel.card.thermograph.index({id:$ctrl.travelData.id})"
target="_self">
<span translate vn-tooltip="Go to">Thermograph</span>
</a>
</h4>
<vn-table> <vn-table>
<vn-thead> <vn-thead>
<vn-tr> <vn-tr>

View File

@ -11,8 +11,8 @@
<vn-horizontal class="vn-pa-md"> <vn-horizontal class="vn-pa-md">
<vn-one> <vn-one>
<h4> <h4>
<a ui-sref="worker.card.basicData"> <a ui-sref="worker.card.basicData({id:$ctrl.worker.id})">
<span translate vn-tooltip="Edit basic data">Basic data</span> <span translate vn-tooltip="Go to">Basic data</span>
</a> </a>
</h4> </h4>
<vn-label-value label="Id" <vn-label-value label="Id"

View File

@ -37,8 +37,8 @@
<vn-horizontal class="vn-pa-md"> <vn-horizontal class="vn-pa-md">
<vn-auto> <vn-auto>
<h4> <h4>
<a ui-sref="zone.card.warehouses"> <a ui-sref="zone.card.warehouses({id:$ctrl.zone.id})">
<span translate vn-tooltip="Edit warehouse">Warehouse</span> <span translate vn-tooltip="Go to">Warehouse</span>
</a> </a>
</h4> </h4>
<vn-table model="model" auto-load="false"> <vn-table model="model" auto-load="false">