changer cover photo
This commit is contained in:
@@ -54,9 +54,9 @@ def get_docs_themes(request, logged_in):
|
||||
|
||||
def get_docs_bycritere(request, critere, logged_in):
|
||||
if logged_in == None:
|
||||
query = "SELECT * FROM docs WHERE (texte like :critere) OR (intitule like :critere) AND statut = 'public';"
|
||||
query = "SELECT * FROM docs WHERE (texte like :critere OR intitule like :critere) AND statut = 'public';"
|
||||
else:
|
||||
query = "SELECT * FROM docs WHERE (texte like :critere) OR (intitule like :critere);"
|
||||
query = "SELECT * FROM docs WHERE (texte like :critere OR intitule like :critere);"
|
||||
results = request.dbsession.execute(query, {'critere': '%' + critere + '%'}).fetchall()
|
||||
return results
|
||||
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 6.0 KiB After Width: | Height: | Size: 6.5 KiB |
BIN
caotek_mesavoirs/static/img/nuisonglanuisong.JPG
Normal file
BIN
caotek_mesavoirs/static/img/nuisonglanuisong.JPG
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 6.5 KiB |
BIN
caotek_mesavoirs/static/img/samadhi.jpg
Normal file
BIN
caotek_mesavoirs/static/img/samadhi.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 6.0 KiB |
@@ -5,7 +5,7 @@
|
||||
<div class="col-sm-4">
|
||||
<br />
|
||||
<br />
|
||||
<img src="${request.static_url('caotek_mesavoirs:static/img/cover_image_540max.jpg')}" alt="cover_image">
|
||||
<img src="${request.static_url('caotek_mesavoirs:static/img/cover_image_540max.jpg')}" alt="cover_image" /><br />
|
||||
</div>
|
||||
|
||||
<div class="col-sm-8">
|
||||
|
||||
Reference in New Issue
Block a user