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

[GeneratorBundle] Add FE styling to pageparts in CMS #853

Merged
merged 2 commits into from
Dec 10, 2015
Merged

[GeneratorBundle] Add FE styling to pageparts in CMS #853

merged 2 commits into from
Dec 10, 2015

Conversation

dbeerten
Copy link
Contributor

Q A
Bug fix? no
New feature? yes
BC breaks? no
Deprecations? no
Fixed tickets /

@@ -70,3 +70,7 @@
{% include 'KunstmaanNodeBundle:NodeAdmin:_modals.html.twig' %}

{% endblock %}

{% block extracss %}
<link rel="stylesheet" href="/frontend/css/admin-style.min.css">
Copy link
Contributor

Choose a reason for hiding this comment

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

We need to check if the file exists, because when you update a site without admin styles, the file will not exist. Also use asset() function.

@jockri jockri added this to the 3.5.0 milestone Dec 10, 2015
jockri pushed a commit that referenced this pull request Dec 10, 2015
[GeneratorBundle] Add FE styling to pageparts in CMS
@jockri jockri merged commit 4b2a14d into Kunstmaan:master Dec 10, 2015
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

2 participants