Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added navigation divider for sections with no title #622

Merged
merged 2 commits into from
Mar 31, 2016

Conversation

wachterjohannes
Copy link
Member

This PR adds a divider for navigation sections without a title. Additionally it adds the support to define default-messages. For example if a message in FR is not there it would take the default messages (EN for example).

This code will be used in sulu/sulu#2196

@@ -57,7 +57,7 @@
return key;
}

return !!translation ? translation : key;
return !!translation || translation === '' ? translation : key;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some brackets would probably make more clear what's happening here. And what does it actually do?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it return the value if it is not null or an empty string.

@wachterjohannes wachterjohannes force-pushed the enhancement/navigation-structure branch from c6f2246 to 442bdca Compare March 31, 2016 15:54
@danrot danrot merged commit 442bdca into develop Mar 31, 2016
@danrot danrot deleted the enhancement/navigation-structure branch April 8, 2016 09:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants