From aac96f4b87131d56e683cdd5c3236d2cf13eb66a Mon Sep 17 00:00:00 2001 From: Gerard Date: Thu, 31 Jan 2019 11:26:03 +0100 Subject: [PATCH] #1080 fallos de estilos en order prices-popover --- modules/item/front/locale/es.yml | 5 ++- modules/order/front/locale/es.yml | 7 ++++ modules/order/front/prices-popover/index.html | 40 ++++++++++++++----- modules/order/front/prices-popover/index.js | 7 ++++ modules/order/front/prices-popover/style.scss | 8 +++- 5 files changed, 55 insertions(+), 12 deletions(-) diff --git a/modules/item/front/locale/es.yml b/modules/item/front/locale/es.yml index 5e52960c20..065ba33168 100644 --- a/modules/item/front/locale/es.yml +++ b/modules/item/front/locale/es.yml @@ -34,6 +34,7 @@ Add barcode: Añadir código de barras Remove barcode: Quitar código de barras Buyer: Comprador No results: Sin resultados +Enter a new search: Introduce una nueva búsqueda Tag: Etiqueta Worker: Trabajador Available: Disponible @@ -46,14 +47,16 @@ Density: Densidad # Sections Items: Artículos +List: Listado New item: Nuevo artículo +Summary: Vista previa Basic data: Datos básicos Tax: IVA History: Historial Niches: Nichos Botanical: Botánico Barcodes: Códigos de barras -Diary: Registro +Diary: Histórico Item diary: Registro de compra-venta Last entries: Últimas entradas Tags: Etiquetas \ No newline at end of file diff --git a/modules/order/front/locale/es.yml b/modules/order/front/locale/es.yml index 1bc58c3677..0b134783f2 100644 --- a/modules/order/front/locale/es.yml +++ b/modules/order/front/locale/es.yml @@ -3,12 +3,19 @@ Catalog: Catálogo from: desde results: resultados More than: Más de +No results: Sin resultados +Enter a new search: Introduce una nueva búsqueda Plant: Planta Flower: Flor Handmade: Confección Green: Verde +Lines: Lineas Accessories: Complemento Category: Reino Search tag: Buscar etiqueta +Order by: Ordenar por +Order: Orden Price: Precio +Ascendant: Ascendente +Descendant: Descendente Created from: Creado desde \ No newline at end of file diff --git a/modules/order/front/prices-popover/index.html b/modules/order/front/prices-popover/index.html index 6a6957edd2..5f3f3632ed 100644 --- a/modules/order/front/prices-popover/index.html +++ b/modules/order/front/prices-popover/index.html @@ -1,6 +1,6 @@ - - +
+
@@ -8,7 +8,7 @@ - +
{{$ctrl.item.id}}
@@ -59,12 +59,32 @@
- - - - +
- +
diff --git a/modules/order/front/prices-popover/index.js b/modules/order/front/prices-popover/index.js index e1f8e3775a..c44ff71098 100644 --- a/modules/order/front/prices-popover/index.js +++ b/modules/order/front/prices-popover/index.js @@ -26,6 +26,13 @@ class Controller { order: 'priority ASC', include: {relation: 'tag'} }; + this.quicklinks = { + btnOne: { + icon: 'icon-transaction', + state: `item.card.diary({id: ${this.item.id}})`, + tooltip: 'Diary' + } + }; this.$http.get(`/item/api/ItemTags?filter=${JSON.stringify(filter)}`).then(response => { this.tags = response.data; }); diff --git a/modules/order/front/prices-popover/style.scss b/modules/order/front/prices-popover/style.scss index 80bc98b57d..729158c91b 100644 --- a/modules/order/front/prices-popover/style.scss +++ b/modules/order/front/prices-popover/style.scss @@ -44,11 +44,17 @@ vn-order-prices-popover { vn-one.text{ padding-top:10px!important; } - vn-horizontal.buttons-bar{ padding-top: 16px; text-align: center; } + .quicklinks vn-icon { + font-size: 1.8em !important; + padding: 0 !important; + & > i { + line-height: 36px + } + } vn-one.error{ display: none; }