Commit 49ca8f22 authored by Jonathan Talbot's avatar Jonathan Talbot

some fixes

parent f2e155f6
......@@ -7,8 +7,9 @@
<title>Announcements List</title>
</head>
<body>
<h1>Important Announcements:</h1>
<h1>Announcement Board</h1>
<hr>
<h3>Important Announcements:</h3>
{% if announcements %}
<ul>
{% for announcement in announcements %}
......
......@@ -9,6 +9,8 @@
<body>
<h1>Assignments Per Course</h1>
<hr>
<h3>List of Courses:</h3>
{% if courses %}
{% for course in courses %}
<ul>
<li>{{ course.course_code }} {{ course.course_title }} {{ course.section }}
......@@ -23,6 +25,9 @@
</ul>
{% endfor %}
{% else %}
<p>There are no assignments.</p>
{% endif %}
<hr>
<a href="{% url 'assignment-add' %}"><button>Add Assignment</button></a>
......
No preview for this file type
{% block content %}
{% block title %}Welcome to Widget’s Forum!{% endblock %}
<p>Forum posts:</p>
{% block title %}<h1>Welcome to Widget’s Forum!</h1>{% endblock %}
<hr>
<h3>Forum posts:</h3>
{% if post_list %}
<ul>
{% for post in post_list %}
......@@ -12,5 +13,6 @@
{% else %}
<p>There are no posts.</p>
{% endif %}
<hr>
<p><a href="{% url 'Add' %}">New Forum Post</a></p>
{% 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