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

Options des pages spéciales #2445

Draft
wants to merge 18 commits into
base: main
Choose a base branch
from
Draft

Options des pages spéciales #2445

wants to merge 18 commits into from

Conversation

arnaudlevy
Copy link
Member

@arnaudlevy arnaudlevy commented Nov 23, 2024

Fix #2421

https://developers.osuny.org/docs/theme/options/valeurs-par-defaut/

Evolution de l'admin

Dans l'édition des pages, il y a maintenant le choix de layout et les options (ici une page de personnes)
Capture d’écran 2024-11-24 à 12 35 40

  • Mettre les options en partial
  • Fournir les design options dans les backlinks (idem special page concernée)

Migration de données

  • Communication::Block::Template::Posts : author -> authors
  • Communication::Block::Template::Page : option_main_summary -> show_main_summary (hors options)
  • Communication::Block::Template::Organization : link -> with_link

Evolution du thème

  • Prendre en charge les options de page
  • Intégrer les 2 nouveaux layouts des personnes

Actualités

Actualités

design:
  full_width: true
  toc:
    present: false
    offcanvas: true
  layout: "list"
  options:
    date: true
    image: true
    author: false
    summary: true
    subtitle: true
    categories: false
    reading_time: false

Diplômes

Diplôme

Pas encore fait

Événements

Événements

design:
  full_width: true
  toc:
    present: false
    offcanvas: true
  layout: "grid"
  options:
    categories: false
    dates: true
    image: true
    subtitle: true
    summary: true
    status: false

Formations

Formations

design:
  full_width: true
  toc:
    present: false
    offcanvas: true
  layout: "list"
  options:
    diploma: true
    image: false
    summary: false

Organisations

Organisations

design:
  full_width: false
  toc:
    present: false
    offcanvas: false
  layout: "grid"
  options:
    logo: true
    summary: false

Pages

Pages

design:
  full_width: true
  toc:
    present: false
    offcanvas: true
  layout: "grid"
  options:
    image: true
    summary: true

Papiers

Papiers

Pas encore fait

Personnes

Personnes

design:
  full_width: false
  toc:
    present: false
    offcanvas: false
  layout: "grid"
  options:
    image: true
    summary: true
    link: true

Projets

Projets

design:
  full_width: true
  toc:
    present: false
    offcanvas: true
  layout: "grid"
  options:
    categories: true
    image: true
    subtitle: true
    summary: false
    year: true

Publications

Publications

Pas encore fait

Sites (campus)

Sites (campus)

design:
  full_width: true
  toc:
    present: false
    offcanvas: true
  layout: "grid"
  options:
    image: true
    summary: true

Volumes

Volumes

Pas encore fait

@arnaudlevy arnaudlevy changed the base branch from main to clean-switches November 24, 2024 10:46
Base automatically changed from clean-switches to main November 24, 2024 10:48
@arnaudlevy arnaudlevy changed the title Options des pages Options des pages spéciales Jan 27, 2025
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.

Option des pages spéciales
1 participant