HOR-472 Change log de dynaforms obtiene un orden extraño de los cambios
+ Refactor of ChangeLog History - Removed paging + Improved type style
This commit is contained in:
@@ -84,10 +84,6 @@ class ChangeLog
|
|||||||
$this->hasPermission($row['DYN_UID']), true);
|
$this->hasPermission($row['DYN_UID']), true);
|
||||||
$limit-= $a;
|
$limit-= $a;
|
||||||
$index+= $a;
|
$index+= $a;
|
||||||
if ($limit < 0) {
|
|
||||||
$index+=1;
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
return $index;
|
return $index;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6,6 +6,13 @@
|
|||||||
body{
|
body{
|
||||||
color:black !important;
|
color:black !important;
|
||||||
}
|
}
|
||||||
|
button.typeButton{
|
||||||
|
border-radius: 4px;
|
||||||
|
background-color: white;
|
||||||
|
border: 1px solid rgb(192, 192, 192);
|
||||||
|
font-size: 11px;
|
||||||
|
color: rgb(192, 192, 192);
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
<div id="processes-panel" width="80%" />
|
<div id="processes-panel" width="80%" />
|
||||||
|
|
||||||
|
|||||||
@@ -64,9 +64,9 @@ Ext.onReady(function () {
|
|||||||
sortable: false,
|
sortable: false,
|
||||||
dataIndex: 'previousValue',
|
dataIndex: 'previousValue',
|
||||||
renderer: function (value, p, record) {
|
renderer: function (value, p, record) {
|
||||||
return value +
|
return ' <button disabled="disabled" class="typeButton">'
|
||||||
' <button disabled="disabled">'
|
+ record.data.previousValueType
|
||||||
+ record.data.previousValueType + '</button>';
|
+ '</button> ' + value;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -75,9 +75,9 @@ Ext.onReady(function () {
|
|||||||
sortable: false,
|
sortable: false,
|
||||||
dataIndex: 'currentValue',
|
dataIndex: 'currentValue',
|
||||||
renderer: function (value, p, record) {
|
renderer: function (value, p, record) {
|
||||||
return value +
|
return ' <button disabled="disabled" class="typeButton">'
|
||||||
' <button disabled="disabled">'
|
+ record.data.currentValueType
|
||||||
+ record.data.currentValueType + '</button>';
|
+ '</button> ' + value;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -88,15 +88,7 @@ Ext.onReady(function () {
|
|||||||
hideable: true,
|
hideable: true,
|
||||||
dataIndex: 'record'
|
dataIndex: 'record'
|
||||||
}
|
}
|
||||||
]}),
|
]})
|
||||||
"bbar": new Ext.PagingToolbar({
|
|
||||||
pageSize: 15,
|
|
||||||
store: store,
|
|
||||||
displayInfo: true,
|
|
||||||
displayMsg: '{0} - {1}',
|
|
||||||
emptyMsg: "",
|
|
||||||
items: []
|
|
||||||
})
|
|
||||||
})
|
})
|
||||||
|
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user