Edited contents

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