|
|
@@ -3554,7 +3554,7 @@ function TableAjax__HIST_Route(args) {
|
|
|
'<thead>' +
|
|
|
'<tr>' +
|
|
|
'<th>Data</th>' +
|
|
|
- '<th>User</th>' +
|
|
|
+ '<th>Autor</th>' +
|
|
|
'<th>Zmiany</th>' +
|
|
|
'</tr>' +
|
|
|
'</thead>' +
|
|
|
@@ -3596,7 +3596,9 @@ function TableAjax__HIST_Route(args) {
|
|
|
histAjaxOut += '<div style="overflow-x:scroll; overflow-y:visible; padding-bottom:1px; margin:10px 0;">' +
|
|
|
'<table class="table table-striped table-hover table-bordered table-condensed AjaxTableHist">' +
|
|
|
'<thead>' +
|
|
|
- '<tr>';
|
|
|
+ '<tr>' + "\n";
|
|
|
+ histAjaxOut += '<th>Data</th>';
|
|
|
+ histAjaxOut += '<th>Autor</th>';
|
|
|
for (j in data['fields']) {
|
|
|
var fieldName = data['fields'][j];
|
|
|
histAjaxOut += '<th>' + (data['field_label'][fieldName] || fieldName).replace(/_/g, ' ') + '</th>';
|
|
|
@@ -3607,6 +3609,8 @@ function TableAjax__HIST_Route(args) {
|
|
|
for (i in data['rows']) {
|
|
|
var row = data['rows'][i];
|
|
|
histAjaxOut += '<tr>';
|
|
|
+ histAjaxOut += '<td><nobr>' + row['_created'] + '</nobr></td>';
|
|
|
+ histAjaxOut += '<td>' + row['_author'] + '</td>';
|
|
|
for (j in data['fields']) {
|
|
|
var fieldName = data['fields'][j];
|
|
|
histAjaxOut += '<td>';
|