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

Improve page titles in admin #1795

Merged
merged 1 commit into from
Mar 29, 2017

Conversation

jhawthorn
Copy link
Contributor

@jhawthorn jhawthorn commented Mar 23, 2017

When we introduced breadcrumbs in the admin, we used the last breadcrumb as the page title, unless one was otherwise specified.

This commit changes the title to it to use all of the breadcrumbs, in reverse order, dash-separated.

Before:

Shipments

After:

Shipments - #R9876543421 - Orders

When we introduced breadcrumbs in the admin, we used the last breadcrumb
as the page title, unless one was otherwise specified.

This commit changes it to use all of the breadcrumbs, in reverse order,
dash-separated.

Before:

    Shipments

After:

    Shipments - #R9876543421 - Orders
Copy link
Member

@tvdeyen tvdeyen left a comment

Choose a reason for hiding this comment

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

Maybe add some test? Anyways 👍

Copy link
Contributor

@jordan-brough jordan-brough left a comment

Choose a reason for hiding this comment

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

Nice

@jhawthorn jhawthorn merged commit 8ef6b71 into solidusio:master Mar 29, 2017
@jhawthorn jhawthorn deleted the improve_admin_titles branch March 29, 2017 23:20
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.

None yet

3 participants