Commit 615b8618 authored by Michael Lopez's avatar Michael Lopez

added and edited announcements.html for the viewpage function in views.py to work

parent 2a608fe1
{% extends "base.html" %}
{% block title %}
Widget's Announcement Board
{% endblock %}
{% block content %}
<h2>Welcome to Widget's Announcement Board!</h2>
<br>
<h3>Announcements:</h3>
<ul>
{% for object in announcement_list %}
<a href="{{object.get_absolute_url}}"><li>{{object.title}} by {{object.author.first_name}}, {{object.author.last_name}}</li></a>
{% endfor %}
</ul>
<br><br>
<form action={% url 'announcements:announcement-add' %}>
<input type="submit" value="New Announcement">
</form>
<a href="{% url 'dashboard:pageview' %}">Dashboard</a><br>
<a href="{% url 'forum:pageview' %}">Forum</a><br>
<a href="{% url 'assignments:pageview' %}">Assignment</a><br>
<a href="{% url 'widget_calendar:pageview' %}">Calendar</a><br>
{% 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