Commit 3d2d6be6 authored by Joshua Son's avatar Joshua Son

Test: announcement working slightly

parent 3bc4706d
...@@ -4,7 +4,8 @@ ...@@ -4,7 +4,8 @@
<h1> {{ announce.announcement_title }} </h1> <h1> {{ announce.announcement_title }} </h1>
<p> <em> by {{ announce.author.first_name}} {{announce.author.last_name}}, {{announce.pub_date}} </em> </p> <p> <em> by {{ announce.author.first_name}} {{announce.author.last_name}}, {{announce.pub_date}} </em> </p>
<p> {{announce.announcement_body</p> <p> {{announce.announcement_body}}</p>
<p> {% include "announcement/reactions_list.html" with reactions=announce.reaction_list %}</p> <p> {% include "announcement/reactions_list.html" with reactions=announce.reaction_list %}</p>
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
{% if announce_list %} {% if announce_list %}
<ul> <ul>
{% for announce in announce_list %} {% for announce in announce_list %}
<l1> <a href = "{% url 'detail' announce.id %}"></a></l1> <li> <a href = "{% url 'detail' announce.id %}">{{ announce.announcement_title }} by {{announce.author.first_name}} {{announce.author.last_name}} dated {{announce.pub_date}} </a></li>
{% endfor %} {% endfor %}
</ul> </ul>
{% else %} {% else %}
......
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