1
0
forked from ScoDoc/ScoDoc

Corrige lien sur page clonage étudiant. Fix #777

This commit is contained in:
Emmanuel Viennet 2023-10-18 15:22:48 +02:00
parent de63a2a991
commit 2700ee65f5

View File

@ -171,7 +171,7 @@ class FormSemestre(db.Model):
def html_link_status(self, label=None, title=None) -> str: def html_link_status(self, label=None, title=None) -> str:
"html link to status page" "html link to status page"
return f"""<a class="stdlink" href="{ return f"""<a class="stdlink" href="{
url_for("notes.formsemestre_status", scodoc_dept=g.scodoc_dept, url_for("notes.formsemestre_status", scodoc_dept=self.departement.acronym,
formsemestre_id=self.id,) formsemestre_id=self.id,)
}" title="{title or ''}">{label or self.titre_mois()}</a> }" title="{title or ''}">{label or self.titre_mois()}</a>
""" """