Commit 303a62fd authored by Ysabella Panghulan's avatar Ysabella Panghulan

edited announcements template

parent b0d4a9e9
...@@ -14,26 +14,27 @@ ...@@ -14,26 +14,27 @@
{% block content %} {% block content %}
<div class="main"> <div class="main">
<div class="list"> <div class="list">
<h2> Announcements: </h2><br> <h2> Announcements: </h2><br>
<div> <div>
<ul> <ol>
{% for announcement in announcements %} {% for announcement in announcements %}
<li> <li>
<a href="{{ announcement.get_absolute_url }}"> <a href="{{ announcement.get_absolute_url }}">
{{ announcement.title }} by {{ announcement.author.first_name }} {{ announcement.author.last_name }} {{ announcement.title }} by {{ announcement.author.first_name }} {{
announcement.author.last_name }}
</a> </a>
</li> </li>
{% endfor %} {% endfor %}
</ul> </ol>
</div> </div>
</div> </div>
<a href="/announcements/add/"> New Announcement </a> <a href="/announcements/add/" class="add-btn"><i class="fa fa-plus"></i> New Announcement </a>
</div> </div>
{% endblock %} {% endblock %}
<div class="links"> <div class="links">
<a href="/dashboard/"> Dashboard </a> <a href="/dashboard/" class="btn-primary"> Dashboard </a>
<a href="/forum/"> Forum </a> <a href="/forum/" class="btn-primary"> Forum </a>
<a href="/assignments/"> Assignments </a> <a href="/assignments/" class="btn-primary"> Assignments </a>
<a href="/calendar/"> Calendar </a> <a href="/calendar/" class="btn-primary"> Calendar </a>
</div> </div>
{% endblock %} {% endblock %}
\ No newline at end of file
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