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

Compute z-index in search result template #153

Merged
merged 2 commits into from Aug 29, 2022

Conversation

maudetes
Copy link
Contributor

@maudetes maudetes commented Aug 29, 2022

Fix datagouv/data.gouv.fr#910

It computes z-index value directly in the search result template.

Sadly, when using the dataset/search-result.html template, we need to make a hack with a dummy assignment to make the jinja loop variable available due to our jinja version. See pallets/jinja#1242.
At least this doesn't fail silently if someone tries to use this template without the loop var in the scope.

We could also use the previous with z_index = pattern if we prefer.

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.

Bug au hover sur le tooltip du critère qualité sur les pages orgas
2 participants