amélioration de la page Accueil

This commit is contained in:
2021-12-02 16:27:56 +01:00
parent 384848f422
commit 4ac11291a7
9 changed files with 66 additions and 48 deletions

View File

@@ -35,8 +35,8 @@ def folder(request):
for tag in tags:
tags_list += tag.tag + ', '
cree_le = item.cree_le.strftime('%d/%m/%Y')
d = (item.intitule, tags_list, cree_le, item.doc_id)
modif_le = item.cree_le.strftime('%d.%m.%y')
d = (modif_le, item.intitule, tags_list, item.doc_id)
liste.append(d)
return {
@@ -134,7 +134,8 @@ def doc_search(request):
return {
'page_title': "Rechercher",
'dt_data': json.dumps(liste),
'dt_data': json.dumps(liste),
'critere': critere,
}
@view_config(route_name='doc_view', renderer='../templates/contents/doc_view.pt')