Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
theme system
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
15 Jan 2015 at 09:11 UTC
Updated:
28 Feb 2015 at 16:14 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
sivaji_ganesh_jojodae commentedComment #2
seantwalshRemove "set classes" and {{ attributes.addClass(classes) }} from core/modules/system/templates/block--system-menu-block.html.twig
Wondering if class="vissually-hidden" should also be removed. There is CSS for these in system so left them in for now.
Comment #4
davidhernandezvisually-hidden should stay. It is functional.
The test is failing because you removed the attribute from block--system-menu-block.html.twig.
The addClass() should be removed, but leave the attribute.
Comment #5
dernetzjaeger commentedComment #7
davidhernandezPostponing this until we decide how we are moving forward. Keep an eye on #2348543: [meta] Consensus Banana Phase 2, transition templates to the starterkit theme for updates. Thanks.
Comment #8
davidhernandezUn-postponing. The templates have been copied to Classy, so all we need to do is remove classes from the original templates.
Comment #9
davidhernandezIt looks like the system menu still picks up an ID attribute from somewhere but I'm not sure where it's coming from. We may need to track that down.
Comment #10
mortendk commentedthe classes
site-slogan, site.name, site-logoare only used in bartik.block-menuonly in bartik.breadcrumbis in system.theme.css - i would suggest we collect to a css followup and move specific theme elements to seven & bartik, but that is out of scope of this issueComment #11
manjit.singhAdd all changes in one file that we have discussed above.
Comment #12
mortendk commented@11 template files in classy have been reorganized & have been copied over, your patch duplicate the templates in classy.
i will update the issue summary to reflect that.
patch #9 is rtbc
Comment #13
mortendk commentedComment #14
mortendk commentedreuploads davids patch from #9 & updated the issue, to reflect the changes after the move of templates into classy
Comment #15
alexpottTemplate changes are permitted during beta. Committed af53fb6 and pushed to 8.0.x. Thanks!