Update pages/notes.py
Browse files- pages/notes.py +1 -1
pages/notes.py
CHANGED
|
@@ -46,7 +46,7 @@ def app(client):
|
|
| 46 |
# Afficher les notes pour la matière de l'onglet actuel
|
| 47 |
if subject in grades_by_subject:
|
| 48 |
for grade in grades_by_subject[subject]:
|
| 49 |
-
with st.expander(f"📝 {grade.grade}/{grade.out_of} | {
|
| 50 |
st.markdown("### Information")
|
| 51 |
st.write(f"**Commentaire** : {grade.comment}")
|
| 52 |
st.write(f"**Date** : {grade.date}")
|
|
|
|
| 46 |
# Afficher les notes pour la matière de l'onglet actuel
|
| 47 |
if subject in grades_by_subject:
|
| 48 |
for grade in grades_by_subject[subject]:
|
| 49 |
+
with st.expander(f"📝 {grade.grade}/{grade.out_of} | {grade.comment if grade.comment else 'Et voilà, ça ne donne pas de nom !'} (📅 {grade.date})"):
|
| 50 |
st.markdown("### Information")
|
| 51 |
st.write(f"**Commentaire** : {grade.comment}")
|
| 52 |
st.write(f"**Date** : {grade.date}")
|