Add view button back to history revisions
This commit is contained in:
parent
15924df4e2
commit
687b0f5ced
2 changed files with 11 additions and 4 deletions
|
@ -58,12 +58,18 @@
|
|||
ordering: false,
|
||||
bFilter: false,
|
||||
columns: [
|
||||
{ "data": null,
|
||||
"render": function(data) {
|
||||
return '<img src="' + data.gravatar + '?s=20" class="avatar" /> ' + data.author
|
||||
{
|
||||
"data": null,
|
||||
"render": function (data) {
|
||||
return '<img src="' + data.gravatar + '?s=20" class="avatar" /> ' + data.author
|
||||
}
|
||||
},
|
||||
{
|
||||
"data": null,
|
||||
"render": function (data) {
|
||||
return '<a href="' + data.link + '" class="label label-primary">View</a> ' + data.message
|
||||
}
|
||||
},
|
||||
{ "data": "message" },
|
||||
{ "data": "date" }
|
||||
],
|
||||
rowCallback: function( row, data, index ) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue