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