Refonte visuelle des pages des societés membres - #2376
Open
vgreb wants to merge 1 commit into
Open
Conversation
stakovicz
approved these changes
Aug 30, 2026
stakovicz
left a comment
Contributor
There was a problem hiding this comment.
C'est chouette, bravo !
| }, | ||
| ) -%} | ||
| <div class="px-4 pt-3"> | ||
| <a {{ attributes }} class="{{ style.apply({variant})|tailwind_merge }}">{%- block content %}{% endblock -%}</a> |
Contributor
There was a problem hiding this comment.
Suggested change
| <a {{ attributes }} class="{{ style.apply({variant})|tailwind_merge }}">{%- block content %}{% endblock -%}</a> | |
| <a class="{{ style.apply({variant}, attributes.render('class'))|tailwind_merge }}" {{ attributes }}>{%- block content %}{% endblock -%}</a> |
Sinon tu as 2 attributs class
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Liste des sociétés membres
Page profil d'une société
Le sous-menu
MainMenune construisait sa barre secondaire qu'à partir de l'arbre CMS. Les pages sans feuille associée, dont/profile/company, ne pouvaient donc pas en afficher — le legacy passait parsite/secondary_menu.html.twig, sans équivalent dans le nouveau layout.Le CMS reste la source par défaut, la surcharge ne prend le dessus que si on défini le contenu du block
submenu.Aucune page existante ne change.