diff --git a/TODO.md b/TODO.md index 9f22083..d68fca4 100644 --- a/TODO.md +++ b/TODO.md @@ -53,3 +53,4 @@ - [x] Redirect internal metadata links on TFE page from /repertoire to /search (orientation, AP, finalité, year, keywords); add query= for search bar prefill; fix filter
visibility on desktop; add keyword to filterKeys badge; add hidden keyword input + visible chip to filter form so keyword filter survives form submission - [x] Fix Logger default level: production default was WARNING, but all facades (AppLogger, AdminLogger, Audit) write at INFO — causing submission/admin/audit logs to be silently discarded - [x] Add structured logging to PeerTube upload/delete: replace raw error_log() with Logger::get('app')->info() for successes and ErrorHandler::log() for failures in PeerTubeService, FilepondHandler, ThesisCreateController, ThesisFileHandler +- [x] Fix word-break before punctuation in TFE titles/meta: override aggressive `word-break: break-word` from base.css with `word-break: normal` + `hyphens: auto` on .tfe-title, .tfe-author, .tfe-meta-item; replace spaces before colons in meta labels with ` ` (French typographic rule) diff --git a/app/public/assets/css/tfe.css b/app/public/assets/css/tfe.css index 284b260..71f3086 100644 --- a/app/public/assets/css/tfe.css +++ b/app/public/assets/css/tfe.css @@ -213,12 +213,18 @@ color: var(--text-primary); margin: 0; line-height: 1.3; + word-break: normal; + overflow-wrap: break-word; + hyphens: auto; } /* Title (h1) — inherits global scale from base.css */ .tfe-title { margin: 0; font-size: var(--step-2); + word-break: normal; + overflow-wrap: break-word; + hyphens: auto; } /* Metadata block */ @@ -234,6 +240,9 @@ .tfe-meta-item { margin: 0; font-weight: 700; + word-break: normal; + overflow-wrap: break-word; + hyphens: auto; } .tfe-meta-label { diff --git a/app/templates/public/tfe.php b/app/templates/public/tfe.php index ea44081..f8c3f0c 100644 --- a/app/templates/public/tfe.php +++ b/app/templates/public/tfe.php @@ -17,28 +17,28 @@

- Orientation : + Orientation : &query=">

- Atelier pluridisciplinaire : + Atelier pluridisciplinaire : &query=">

- Finalité : + Finalité : &query=">

- Date : + Date : &query=">

@@ -58,14 +58,14 @@ unset($_h, $_m); ?>

- Durée : + Durée :

- Langue : + Langue :

- Format : + Format :

- Mots-clés : + Mots-clés :

- Promoteur·ice interne : + Promoteur·ice interne : '' . htmlspecialchars($n) . '', @@ -120,7 +120,7 @@

- Promoteur·ice externe : + Promoteur·ice externe : '' . htmlspecialchars($n) . '', @@ -133,7 +133,7 @@

- Promoteur·ice université : + Promoteur·ice université : '' . htmlspecialchars($n) . '', @@ -146,7 +146,7 @@

- Président·e du jury : + Président·e du jury : '' . htmlspecialchars($n) . '', @@ -159,7 +159,7 @@

- Lecteur·ice(s) interne : + Lecteur·ice(s) interne : '' . htmlspecialchars($n) . '', @@ -172,7 +172,7 @@

- Lecteur·ice(s) externe : + Lecteur·ice(s) externe : '' . htmlspecialchars($n) . '', @@ -185,7 +185,7 @@

- Accès : + Accès :

@@ -195,7 +195,7 @@ $_lic = !empty($data["license_type"]) ? $data["license_type"] : ($data["license_custom"] ?? null); if ($_cc2r || $_lic): ?>

- Licence : + Licence :

@@ -203,7 +203,7 @@

- Contact : + Contact :

- Lien : + Lien : (ouvre dans un nouvel onglet)