Commit 76e44e63 authored by Michael Lopez's avatar Michael Lopez

Updated announcements html file to utilize both Announcements and Reactions model

parent d7ef1423
......@@ -6,9 +6,12 @@
{{ announcements.title }} by {{ announcements.author }} published {{
announcements.pub_datetime }}<br />
{{ announcements.body }}<br />
Like: {{ announcements.tally }}<br />
Love: {{ announcements.tally }}<br />
Angry: {{ announcements.tally }}
</p>
{% endfor %} {% for reaction in reactions %}
<p>
Like: {{ reactions.tally }}<br />
Love: {{ reactions.tally }}<br />
Angry: {{ reactions.tally }}
</p>
{% endfor %}
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