-
Notifications
You must be signed in to change notification settings - Fork 134
Breadcrumbs: Improve consistency across all content types #1789
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
Conversation
amieiro
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have just reviewed the code and the functionality, and it works nice. Good job!
I have suggested two small changes in the gp_breadcrumb_projectfunction. Please, take a look and then I will merge this PR. Thank you!
Co-authored-by: Jesús Amieiro Becerra <[email protected]>
Co-authored-by: Jesús Amieiro Becerra <[email protected]>
|
Thanks for the review @amieiro |
Problem
As described in #1788, there are several inconsistencies in the breadcrumbs:
Solution
gp_breadcrumb_project()with extra optional items, with backwards compatibility. If no extra items, the last item (project->name) is used without link. If not empty, all the links are outputed and the extra items are appended (Translation Set, Glossary, action, etc)Testing Instructions
Navigate through all the possible pages:
Etc.
Screenshots
Locales and Global glossaries
Projects
Translation Sets and Project glossaries
Fixes #1788