Edited contents

parent 5fc6b1da
{% extends 'base.html' %}
{% load static %}
{% block page-title %}{{ object.title }}{% endblock %}
{% block page-title %}{{ announcement.title }}{% endblock %}
{% block content %}
<h1>
{{ object.title }}
{{ announcement.title }}
</h1>
<p>
by {{ object.author.first_name }} {{ object.author.last_name }}<br>
by {{ announcement.author.first_name }} {{ announcement.author.last_name }}<br>
{{ announcement.date_format}}, {{ announcement.time_format }}<br><br>
{{ announcement.body }}<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>
Like: {{ announcement.getLike }}<br>
Love: {{ announcement.getLove }}<br>
Angry: {{ announcement.getAngry}} <br>
</p>
<p>
<a href="/announcements/{{object.pk}}/edit">
<a href="{% url 'announcement_board:announcement-edit' announcement.pk %}">
<button class="btn">Edit Announcement</button>
</a>
</p>
......
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