Browse Source

Fixed home page

feature/python-3-migration
tr4ck3ur des JM2L 1 month ago
parent
commit
ce61e2c258
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      jm2l/views.py

+ 4
- 4
jm2l/views.py View File

@@ -312,18 +312,18 @@ def JSON_TimeLine_Request(request):
"credit": ",".join(["%s %s" % (i.prenom, i.nom) for i in ev.intervenants]),
"caption": ""}
})
if year == 2018:
if year == 2020:
DicResult = {
"lang": "fr",
"headline": "JM2L 2018",
"headline": "JM2L 2020",
"type": "default",
"startDate": "2018,12,15,10",
"startDate": "2020,11,28,10",
"text": "<i><span class='c1'>11ème Édition</span></i>",
"asset":
{
"media": embeed_video("video/ogg", "/resources/2017/Video/JM2L2017_Reportage_FR3.ogv"),
"credit": "Reportage France 3",
"caption": "JM2L 2018"
"caption": "Dans nos précédentes éditions, une vidéo des JM2L 2017"
}
}
elif year == 2017:


Loading…
Cancel
Save