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

[Shop] Add ability to show static content #5452

Merged
merged 5 commits into from
Jul 7, 2016

Conversation

pamil
Copy link
Contributor

@pamil pamil commented Jul 6, 2016

Q A
Bug fix? no
New feature? yes
BC breaks? no
Related tickets -
License MIT

@pamil pamil changed the title [Shop] Add ability to show static content [WIP] [Shop] Add ability to show static content Jul 6, 2016
* @param ClassMetadata $class
* @param string $staticContentPath
*/
public function __construct(DocumentManagerInterface $dm, ClassMetadata $class, $staticContentPath)
Copy link
Member

Choose a reason for hiding this comment

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

Why did you abbreviate?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

To be consistent with parent implementation of __construct

@pamil pamil force-pushed the shop/cmf/static-content/show branch 2 times, most recently from c997243 to ded197e Compare July 7, 2016 08:07
@pamil pamil changed the title [WIP] [Shop] Add ability to show static content [Shop] Add ability to show static content Jul 7, 2016
@pamil pamil force-pushed the shop/cmf/static-content/show branch from ded197e to e69c777 Compare July 7, 2016 08:34
- sylius.behat.context.setup.static_content

- sylius.behat.context.ui.shop.static_content

Copy link
Member

Choose a reason for hiding this comment

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

redundant

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Srsly? It just separates contexts from filters.

Copy link
Member

Choose a reason for hiding this comment

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

Yup. Indention separates them enough. We don't have such a separation in any other suite.

@pjedrzejewski pjedrzejewski added New Feature Shop ShopBundle related issues and PRs. labels Jul 7, 2016
{% extends '@SyliusShop/layout.html.twig' %}

{% block content %}
{% createphp resource as='rdf' noautotag %}
Copy link
Member

Choose a reason for hiding this comment

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

We should not use createphp for new shop. Please remove it.

@pjedrzejewski pjedrzejewski merged commit 4d9b7bf into Sylius:master Jul 7, 2016
@pjedrzejewski
Copy link
Member

Thanks Kamil!

@pamil pamil deleted the shop/cmf/static-content/show branch July 7, 2016 11:32
pamil pushed a commit to pamil/Sylius that referenced this pull request May 7, 2019
[Shop] Add ability to show static content
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Shop ShopBundle related issues and PRs.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants