coverLabel : add "

This commit is contained in:
isUnknown 2026-02-26 11:28:29 +01:00
parent 033023f6ef
commit 45a41e5d89
2 changed files with 1 additions and 1 deletions

BIN
public/kirby/panel/dist.zip Normal file

Binary file not shown.

View file

@ -11,7 +11,7 @@ Kirby::plugin('geoproject/cover-files', [
'fileMethods' => [ 'fileMethods' => [
'coverLabel' => function () { 'coverLabel' => function () {
if ($this->parent()->intendedTemplate()->name() === 'map') { if ($this->parent()->intendedTemplate()->name() === 'map') {
return 'Carte ' . $this->parent()->title(); return 'Carte "' . $this->parent()->title() . '"';
} }
return $this->filename(); return $this->filename();
} }