Skip to content

Commit

Permalink
TASK: Remove b/c layer Node::$nodeName
Browse files Browse the repository at this point in the history
  • Loading branch information
mhsdesign committed Jul 26, 2024
1 parent 71abbee commit 3518a34
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,17 +79,6 @@
*/
public ContentSubgraphIdentity $subgraphIdentity;

/**
* In PHP please use {@see $name} instead.
*
* For Fusion use:
* ```
* ${node.name.value}
* ```
* @deprecated will be removed before the final 9.0 release
*/
public ?NodeName $nodeName;

/**
* @param ContentRepositoryId $contentRepositoryId The content-repository this Node belongs to
* @param WorkspaceName $workspaceName The workspace of this Node
Expand Down Expand Up @@ -123,7 +112,6 @@ private function __construct(
throw new \InvalidArgumentException('The NodeName must be set if the Node is tethered.', 1695118377);
}
// legacy to be removed before Neos9
$this->nodeName = $this->name;
$this->subgraphIdentity = ContentSubgraphIdentity::create(
$contentRepositoryId,
$contentStreamId,
Expand Down
4 changes: 2 additions & 2 deletions Neos.Neos/Resources/Private/Fusion/Backend/Views/Login.fusion
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ prototype(Neos.Neos:View.Login) < prototype(Neos.Fusion:Component) {
}

renderer = afx`
<Neos.Neos:Core.BackendPage title={I18n.translate('login.index.title', 'Login to') + ' ' + props.site.name} additionalResources.styles={private.additionalStyles}>
<Neos.Neos:Core.BackendPage title={I18n.translate('login.index.title', 'Login to') + ' ' + props.site.name.value} additionalResources.styles={private.additionalStyles}>
<Neos.Fusion:Fragment @path='additionalResources.inlineStyles'>
<style type="text/css" @if.set={private.backgroundImageSource && !private.backgroundImageSourceIsWebp}>
{'body.neos--bg,.neos-login-box:before{background-image:url(' + private.backgroundImageSource + ')}'}
Expand All @@ -46,7 +46,7 @@ prototype(Neos.Neos:View.Login) < prototype(Neos.Fusion:Component) {
</figure>

<h1 class="neos-login-heading">
{I18n.id('login.index.title').value('Login to').package('Neos.Neos').source('Main')} <strong>{site.name}</strong>
{I18n.id('login.index.title').value('Login to').package('Neos.Neos').source('Main')} <strong>{props.site.name.value}</strong>
</h1>

<div class="neos-login-body neos">
Expand Down

0 comments on commit 3518a34

Please sign in to comment.