added views in pissing place

This commit is contained in:
CDaut 2022-09-12 00:57:01 +02:00 committed by CDaut
parent 28b43caac5
commit 9950f2abcf

View file

@ -21,6 +21,7 @@ delete
<li class="topic_list_element" draggable="true" ondragstart="drag(event)" <li class="topic_list_element" draggable="true" ondragstart="drag(event)"
id="list_elem_post_{{ post.id }}"> id="list_elem_post_{{ post.id }}">
<a href="{% url 'readpost' title=post.title %}">{{ post }}</a> <a href="{% url 'readpost' title=post.title %}">{{ post }}</a>
<p>Views: {{ post.views }}</p>
<a href="/admin/blog/blogpost/{{ post.id }}/delete"> <a href="/admin/blog/blogpost/{{ post.id }}/delete">
<button class="btn waves-effect waves-light btn-danger"> <button class="btn waves-effect waves-light btn-danger">
<span class="material-icons">delete</span> <span class="material-icons">delete</span>