Commit 9d170c81 authored by Titia de Castro's avatar Titia de Castro

linked announcement detail page to each announcment in index

parent 8b68cdd3
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
<h2>Important Announcements:</h2> <h2>Important Announcements:</h2>
<ul> <ul>
{% for announcement in announcements %} {% for announcement in announcements %}
<li>{{ announcement.announcement_title }} by {{ announcement.author.first_name }} {{ announcement.author.last_name }} dated {{ announcement.pub_date|date:'d/m/Y' }}</li> <li><a href="/announcements/{{ announcement.id }}/details">{{ announcement.announcement_title }} by {{ announcement.author.first_name }} {{ announcement.author.last_name }} dated {{ announcement.pub_date|date:'d/m/Y' }}</a></li>
{% endfor %} {% endfor %}
</ul> </ul>
</body> </body>
......
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