refresh cache button plugin : add last cache update date and time on button title
This commit is contained in:
parent
a1f0701630
commit
b1f7854510
5 changed files with 37 additions and 17 deletions
|
|
@ -10,7 +10,8 @@ Kirby::plugin('adrienpayet/refresh-cache-button', [
|
|||
'component' => 'refresh-cache-button',
|
||||
'props' => [
|
||||
'pageUri' => $page->uri(),
|
||||
'pageStatus' => $page->status()
|
||||
'pageStatus' => $page->status(),
|
||||
'lastCacheUpdate' => $page->lastCacheUpdate()->value(),
|
||||
]
|
||||
];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue