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);
|
||||
$limit-= $a;
|
||||
$index+= $a;
|
||||
if ($limit < 0) {
|
||||
$index+=1;
|
||||
break;
|
||||
}
|
||||
}
|
||||
return $index;
|
||||
}
|
||||
|
||||
@@ -6,6 +6,13 @@
|
||||
body{
|
||||
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>
|
||||
<div id="processes-panel" width="80%" />
|
||||
|
||||
|
||||
@@ -64,9 +64,9 @@ Ext.onReady(function () {
|
||||
sortable: false,
|
||||
dataIndex: 'previousValue',
|
||||
renderer: function (value, p, record) {
|
||||
return value +
|
||||
' <button disabled="disabled">'
|
||||
+ record.data.previousValueType + '</button>';
|
||||
return ' <button disabled="disabled" class="typeButton">'
|
||||
+ record.data.previousValueType
|
||||
+ '</button> ' + value;
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -75,9 +75,9 @@ Ext.onReady(function () {
|
||||
sortable: false,
|
||||
dataIndex: 'currentValue',
|
||||
renderer: function (value, p, record) {
|
||||
return value +
|
||||
' <button disabled="disabled">'
|
||||
+ record.data.currentValueType + '</button>';
|
||||
return ' <button disabled="disabled" class="typeButton">'
|
||||
+ record.data.currentValueType
|
||||
+ '</button> ' + value;
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -88,15 +88,7 @@ Ext.onReady(function () {
|
||||
hideable: true,
|
||||
dataIndex: 'record'
|
||||
}
|
||||
]}),
|
||||
"bbar": new Ext.PagingToolbar({
|
||||
pageSize: 15,
|
||||
store: store,
|
||||
displayInfo: true,
|
||||
displayMsg: '{0} - {1}',
|
||||
emptyMsg: "",
|
||||
items: []
|
||||
})
|
||||
]})
|
||||
})
|
||||
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user