diff options
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/news/show.html | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/templates/news/show.html b/templates/news/show.html index 54a8645..3bdaa9b 100644 --- a/templates/news/show.html +++ b/templates/news/show.html @@ -16,9 +16,10 @@ {% endif %} {% for comment in comments %} <div class="media comment" style="width:100%"> - <a class="media-left" href="#"> - <img src="{{ url_for('static', filename='gfx/photo.jpg') }}" alt="pomme"> - </a> + <div class="media-left"> + <img src="{{ url_for('static', filename= + 'gfx/'+comment.user_name+'.jpg') }}" alt="{{comment.user_name}}" class="img-circle"> + </div> <div class="media-body" style="width:100%"> <h4 class="media-heading"><p class="pull-right date">{{comment.date|format_date}}</p> <a href="{{url_for('view_user', user_id=comment.user_id)}}">{{comment.user_name}}</a></h4> |
