mirror of
https://github.com/openclassify/openclassify.git
synced 2026-01-24 22:11:01 -06:00
Merge pull request #1002 from openclassify/muammertop
igamkoop bugs and request edited
This commit is contained in:
commit
fad28121eb
@ -21,12 +21,16 @@ class AdvTableColumns
|
|||||||
'wrapper' => '
|
'wrapper' => '
|
||||||
<strong><span class="text-muted">#{value.id}</span>{value.name}</strong>
|
<strong><span class="text-muted">#{value.id}</span>{value.name}</strong>
|
||||||
<br>
|
<br>
|
||||||
<small class="text-muted">{value.finish_at}</small>
|
<small class="text-muted">{value.date}</small>
|
||||||
<br>
|
<br>
|
||||||
<span>{value.category}</span>',
|
<span>{value.category}</span>',
|
||||||
'value' => [
|
'value' => [
|
||||||
'id' => 'entry.id',
|
'id' => 'entry.id',
|
||||||
'finish_at' => 'entry.finish_at',
|
'date' => function(EntryInterface $entry){
|
||||||
|
$created_at = date_format($entry['created_at'], 'd.m.Y H:i');
|
||||||
|
$finish_at = date_format($entry['finish_at'], 'd.m.Y H:i');
|
||||||
|
return $created_at . ' <i class="fa fa-angle-right"></i> ' . $finish_at;
|
||||||
|
},
|
||||||
'name' => function (EntryInterface $entry) {
|
'name' => function (EntryInterface $entry) {
|
||||||
if ($entry->getTitle()) {
|
if ($entry->getTitle()) {
|
||||||
$value = "<a href='" . $entry->getAdvDetailLinkByModel($entry, 'list') . "' > {entry.name}</a > ";
|
$value = "<a href='" . $entry->getAdvDetailLinkByModel($entry, 'list') . "' > {entry.name}</a > ";
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user