coverLabel : add "
This commit is contained in:
parent
033023f6ef
commit
45a41e5d89
2 changed files with 1 additions and 1 deletions
BIN
public/kirby/panel/dist.zip
Normal file
BIN
public/kirby/panel/dist.zip
Normal file
Binary file not shown.
|
|
@ -11,7 +11,7 @@ Kirby::plugin('geoproject/cover-files', [
|
|||
'fileMethods' => [
|
||||
'coverLabel' => function () {
|
||||
if ($this->parent()->intendedTemplate()->name() === 'map') {
|
||||
return 'Carte ' . $this->parent()->title();
|
||||
return 'Carte "' . $this->parent()->title() . '"';
|
||||
}
|
||||
return $this->filename();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue