2023-12-19 17:33:46 +01:00
|
|
|
{%extends 'base.html'%}
|
|
|
|
{%load static%}
|
|
|
|
{%block extracss%}
|
2024-01-04 21:33:13 +01:00
|
|
|
<link rel="stylesheet" href="{% static 'Community/css/post_details.css' %}">
|
2023-12-19 17:33:46 +01:00
|
|
|
{%endblock extracss%}
|
|
|
|
{%block content%}
|
2024-01-04 21:33:13 +01:00
|
|
|
<div class="page-container">
|
2023-12-19 17:33:46 +01:00
|
|
|
<div class="post">
|
2024-01-04 21:33:13 +01:00
|
|
|
<div class="title-content">
|
|
|
|
<p id="title">{{object.title}}</p>
|
|
|
|
<p id="content">{{object.content}}</p>
|
2023-12-19 17:33:46 +01:00
|
|
|
</div>
|
2024-01-04 21:33:13 +01:00
|
|
|
<div class="author">
|
|
|
|
<p id="author">{{object.author}}</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<p id="comment-label">Comments:</p>
|
2023-12-19 17:33:46 +01:00
|
|
|
<div class="comments">
|
|
|
|
{%for comments in object.comment_set.all%}
|
2024-01-04 21:33:13 +01:00
|
|
|
<div class="single-comment">
|
|
|
|
<p id="comment-content">{{comments.content}}</p>
|
|
|
|
<p id="comment-author">{{comments.author}}</p>
|
|
|
|
</div>
|
2023-12-19 17:33:46 +01:00
|
|
|
{%endfor%}
|
|
|
|
</div>
|
2024-01-04 21:33:13 +01:00
|
|
|
</div>
|
2023-12-19 17:33:46 +01:00
|
|
|
{%endblock content%}
|