Edited contents

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