-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
[Admin] Add link to product in variant breadcrumb #10509
Conversation
src/Sylius/Bundle/AdminBundle/Resources/views/ProductVariant/Update/_breadcrumb.html.twig
Outdated
Show resolved
Hide resolved
The base of this pull-request was changed, you need fetch and reset your local branch Unless you added new commits (to this branch) locally that you did not push yet, Feel free to ask for assistance when you get stuck 👍 |
567b588
to
b729901
Compare
b729901
to
eb96557
Compare
eb96557
to
c3eb989
Compare
Thank you, Tomasz! 🥇 |
…nts and PromotionCoupons) (CoderMaggie) This PR was merged into the 1.4 branch. Discussion ---------- | Q | A | --------------- | ----- | Branch? | 1.4 | Bug fix? | no | New feature? | rather an improvement | BC breaks? | no | Deprecations? | no | Related tickets | triggered by #10509 😄 | License | MIT The clue is to use entities **names** instead of **codes**, wherever it is possible. especially in entities that are _under_ other entities like coupons or variants. Product variant edit: Before: ![image](https://user-images.githubusercontent.com/13198869/61623526-14b4f500-ac77-11e9-88a4-ec177f812be9.png) After: ![image](https://user-images.githubusercontent.com/13198869/61623469-fb13ad80-ac76-11e9-8df2-be7bd89532f1.png) Without the variant name: ![image](https://user-images.githubusercontent.com/13198869/61623756-9147d380-ac77-11e9-83d0-b8c3144f45b0.png) Channels edit: Before: ![image](https://user-images.githubusercontent.com/13198869/61623602-3c0bc200-ac77-11e9-853b-a8611e789927.png) After: ![image](https://user-images.githubusercontent.com/13198869/61623651-5b0a5400-ac77-11e9-893b-bc9fe32b724a.png) And while trying to unsuccessfully remove the name: ![image](https://user-images.githubusercontent.com/13198869/61623693-71181480-ac77-11e9-9f0d-e27b6582d685.png) After (translation of names to Admin locale) ![image](https://user-images.githubusercontent.com/13198869/61624020-159a5680-ac78-11e9-9425-60b159f5f556.png) ![image](https://user-images.githubusercontent.com/13198869/61624038-21861880-ac78-11e9-9e5f-9b1be0100220.png) ![image](https://user-images.githubusercontent.com/13198869/61624000-0adfc180-ac78-11e9-8458-2d1788b31a10.png) Commits ------- 013134d Improve all breadcrumbs 5a1935f Improve ProductVariant breadcrumbs 14dab4b Improve PromotionCoupon breadcrumbs
New link:
After clicking:
to url:
Product edit page: