Skip to content

Refonte visuelle de la liste des articles - #2347

Merged
Mopolo merged 2 commits into
afup:masterfrom
Mopolo:refonte-liste-articles
Aug 18, 2026
Merged

Refonte visuelle de la liste des articles#2347
Mopolo merged 2 commits into
afup:masterfrom
Mopolo:refonte-liste-articles

Conversation

@Mopolo

@Mopolo Mopolo commented Aug 18, 2026

Copy link
Copy Markdown
Contributor
La liste basique, les critères sont repliés pour éviter que la page fasse 3km de long. Le pliage/dépliage est fait sans javascript.
image image
Quand des critères sont cochés, ils remontent en haut de leur liste.
image image
Quand il n'y a aucun résultat.
image image

@Mopolo Mopolo self-assigned this Aug 18, 2026
@Mopolo
Mopolo marked this pull request as ready for review August 18, 2026 16:00
@Mopolo
Mopolo requested a review from vgreb August 18, 2026 16:00
->groupBy('e.id')
->orderBy('e.date_debut', 'DESC')
->addOrderBy('e.date_debut', 'DESC')
->addOrderBy('e.titre', 'DESC')

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Actuellement sur la liste des articles, à chaque fois qu'on refresh, les afup days changent de place de façon random vu qu'ils ont la même date de début. En ajoutant ce filtre on évite cet effet.

$('form[name=news_filters]').on('change', function() {
$(this).submit();
})
document.addEventListener('DOMContentLoaded', () => {

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Je n'ai pas mis jquery sur les nouvelles pages, à voir ce qu'on veut faire niveau js si on a besoin un jour de plus complexe.

@stakovicz stakovicz left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Quelques chipotages, mais c'est déjà top comme ça !

Comment thread templates/site/news/list.html.twig Outdated
Comment thread templates/site/news/list.html.twig Outdated
Comment thread templates/site/news/list.html.twig Outdated
@Mopolo
Mopolo force-pushed the refonte-liste-articles branch from 82f3141 to f63f4e5 Compare August 18, 2026 17:57
@Mopolo
Mopolo force-pushed the refonte-liste-articles branch from f63f4e5 to 16143fd Compare August 18, 2026 17:59
@Mopolo
Mopolo merged commit acd0bba into afup:master Aug 18, 2026
7 checks passed
@Mopolo
Mopolo deleted the refonte-liste-articles branch August 18, 2026 18:18
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.

2 participants