Edited contents

parent c79e636d
......@@ -6,9 +6,9 @@
{% block heading %} <h1> Welcome to Widget's Announcement Board! </h1> {% endblock %}
{% block content %}
<p> Announcements:<br>
<p> Announcements:<br><br>
{% for a in announcements_list %}
<a href="{% url 'announcements:detail' announcement.id %}">
<a href="{% url 'announcement_board:announcement-details' a.pk %}">
{{a.title}} by {{ a.author.first_name }} {{ a.author.last_name }}
</a><br>
{% endfor %}
......@@ -17,7 +17,7 @@
{% block footing %}
<p>
<a href="/announcements/add">
<a href="{% url 'announcement_board:announcement-add' %}">
<button class="btn add">New Announcement</button>
</a>
</p>
......@@ -25,7 +25,5 @@
<p>
<a href="/dashboard/" class="link">Dashboard</a><br>
<a href="/forum/" class="link">Forum</a><br>
<a href="/assignments/" class="link">Assignments</a><br>
<a href="/calendar/" class="link">Calendar</a>
</p>
{% endblock %}
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