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

{% if pagetype == 'admin' %} in boostrap theme is not working #2681

Closed
rallek opened this issue Dec 15, 2015 · 3 comments
Closed

{% if pagetype == 'admin' %} in boostrap theme is not working #2681

rallek opened this issue Dec 15, 2015 · 3 comments
Labels
Milestone

Comments

@rallek
Copy link
Contributor

rallek commented Dec 15, 2015

There is a {% if pagetype == 'admin' %} in main_menu.html.twig what should make the following menu items appear only if you are at the admin pages. But they are shown allways, also at home

@craigh
Copy link
Member

craigh commented Dec 15, 2015

probably not. are you assigning pagetype? yourself?

@rallek
Copy link
Contributor Author

rallek commented Dec 15, 2015

no, I am using the boostrap theme of 1.4.1 without changes

@craigh craigh added the Bug label Dec 15, 2015
@craigh craigh added this to the 1.4.2 milestone Dec 15, 2015
@craigh
Copy link
Member

craigh commented Dec 15, 2015

I can confirm this. not sure of a fix atm.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants