Skip to content

Commit

Permalink
TASK: Adjust number of spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
mficzel committed Apr 24, 2024
1 parent 536a376 commit 76c6725
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions Classes/Aspect/LabelForNodeAspect.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

namespace Sitegeist\ZombieHunt\Aspect;

use Neos\ContentRepository\Domain\Projection\Content\NodeInterface;
use Neos\ContentRepository\Domain\Model\NodeInterface;
use Neos\Flow\Annotations as Flow;
use Neos\Flow\Aop\JoinPointInterface;
use Sitegeist\ZombieHunt\Domain\ZombieDetector;
Expand Down Expand Up @@ -41,9 +41,9 @@ public function markZombieNodes(JoinPointInterface $joinPoint): string
if ($node instanceof NodeInterface && $node->getContext()->isInBackend() && $node->getContext()->getCurrentRenderingMode()->isEdit()) {
if ($this->zombieDetector->isZombie($node)) {
if ($this->zombieDetector->isZombieThatHasToBeDestroyed($node)) {
$label = $this->zombieToDestroyLabel . $label;
$label = $this->zombieToDestroyLabel . ' ' . $label;
} else {
$label = $this->zombieLabel . $label;
$label = $this->zombieLabel . ' ' . $label;
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions Configuration/Settings.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ Sitegeist:
destructionPeriod: 31536000

# the label for a zombie node
zombieLabel: '🧟 '
zombieLabel: '🧟'

# label for a zombieNode that is due to destruction
zombieToDestroyLabel: 'πŸ”₯🧟πŸ”₯ '
zombieToDestroyLabel: 'πŸ”₯🧟πŸ”₯'

Neos:
Neos:
Expand Down

0 comments on commit 76c6725

Please sign in to comment.