Added contents in announcement-details.html

parent f09c8f93
{% extends 'base.html' %}
{% load static %}
{% block page-title %}{{ object.title }}{% endblock %}
{% block content %}
<h1>
{{ object.title }}
</h1>
<p>
by {{ object.author.first_name }} {{ object.author.last_name }}<br>
</p>
<p>
{{ object.format_date}}, {{ object.format_time }}<br><br>
{{ object.body }}<br>
Like: {{ object.getLike }}<br>
Love: {{ object.getLove }}<br>
Angry: {{ object.getAngry}} <br>
</p>
<p>
<a href="/announcements/{{object.pk}}/edit">
<button class="btn">Edit Announcement</button>
</a>
</p>
{% endblock %}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment