#869 refactor componente log

This commit is contained in:
Gerard 2018-11-26 13:12:59 +01:00
parent 20be455774
commit 16bd2141c8
6 changed files with 9 additions and 16 deletions

View File

@ -54,4 +54,5 @@ Edit contract: Editar contrato
Requested credits: Créditos solicitados
Contacts: Contactos
Samples: Plantillas
Send sample: Enviar plantilla
Send sample: Enviar plantilla
Log: Historial

View File

@ -9,7 +9,7 @@
<vn-th field="userFk" class="expendable">Changed by</vn-th>
<vn-th field="changedModel" class="expendable">Model</vn-th>
<vn-th field="action" class="expendable">Action</vn-th>
<vn-th field="changedModelValue" class="expendable">Instance</vn-th>
<vn-th field="changedModelValue" class="expendable">Name</vn-th>
<vn-th>Before</vn-th>
<vn-th>After</vn-th>
</vn-tr>
@ -32,7 +32,7 @@
<span translate class="value">{{::log.action}}</span>
</div>
<div>
<span translate class="label">Instance</span><span class="label">: </span>
<span translate class="label"></span>Name<span class="label">: </span>
<span translate class="value">{{::log.changedModelValue}}</span>
</div>
</div>

View File

@ -6,4 +6,5 @@ After: Despues
History: Historial
insert: Crear
delete: Eliminar
update: Actualizar
update: Actualizar
Name: Nombre

View File

@ -55,16 +55,7 @@
"component": "vn-item-tax",
"description": "Tax",
"acl": ["administrative","buyer"]
},
{
"url" : "/history",
"state": "item.card.history",
"component": "vn-item-history",
"description": "History",
"params": {
"item": "$ctrl.item"
}
},
},
{
"url" : "/niche",
"state": "item.card.niche",
@ -129,7 +120,6 @@
{"state": "item.card.data", "icon": "settings"},
{"state": "item.card.tags", "icon": "icon-tags"},
{"state": "item.card.tax", "icon": "icon-tax"},
{"state": "item.card.history", "icon": "history"},
{"state": "item.card.niche", "icon": "place"},
{"state": "item.card.botanical", "icon": "local_florist"},
{"state": "item.card.itemBarcode", "icon": "icon-barcode"},

View File

@ -12,7 +12,7 @@ import './ticket-descriptor-popover';
import './data';
import './tags';
import './tax';
import './history';
// import './history';
import './last-entries';
import './niche';
import './botanical';

View File

@ -74,3 +74,4 @@ Sale checked: Control clientes
Components: Componentes
Sale tracking: Líneas preparadas
Pictures: Fotos
Log: Historial