diff --git a/app/scodoc/sco_evaluations.py b/app/scodoc/sco_evaluations.py index ee11aa6c6..49a0716ff 100644 --- a/app/scodoc/sco_evaluations.py +++ b/app/scodoc/sco_evaluations.py @@ -384,7 +384,7 @@ class JourEval(sco_gen_cal.Jour): self.parent: "CalendrierEval" = parent def get_html(self) -> str: - html: str = "" + htmls = [] for e in self.evaluations: url: str = url_for( @@ -395,14 +395,16 @@ class JourEval(sco_gen_cal.Jour): title: str = ( e.moduleimpl.module.code or e.moduleimpl.module.abbrev or "éval." ) - html += f""" - {title}
""" + class="stdlink" + >{title}""" + ) - return html + return ", ".join(htmls) def _get_eval_style(self, e: Evaluation) -> str: color: str = "" diff --git a/app/templates/calendrier.j2 b/app/templates/calendrier.j2 index ce13a4f81..2149a7865 100644 --- a/app/templates/calendrier.j2 +++ b/app/templates/calendrier.j2 @@ -26,6 +26,10 @@ margin-bottom: 12px; } + .mois { + flex: 1; + } + .mois h3 { text-align: center; } @@ -65,11 +69,16 @@ .jour>.contenu, .jour>.nom { - text-align: center; border: 1px solid #d5d5d5; position: relative; } + .jour>.contenu a { + padding: 0px 2px; + } + .jour>.nom { + text-align: center; + } .sem-courante{ --couleur : #ee752c; border-left: solid 3px var(--couleur);