Commit 7708910f authored by MJoshBen's avatar MJoshBen

Adjusted Main Pages for Some Apps and Fixed some notable Errors

parent 7565a8bd
...@@ -13,5 +13,5 @@ ...@@ -13,5 +13,5 @@
</h3> </h3>
{% endblock %} {% endblock %}
{% block scripts %} {% block scripts %}
<a href="/announcements/{{ reaction.announcement.pk }}/edit"><input type="submit" value="Edit Announcement"></a> <a href="/announcements/{{ announcement.pk }}/edit"><input type="submit" value="Edit Announcement"></a>
{% endblock %} {% endblock %}
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
</h3> </h3>
{% endblock %} {% endblock %}
{% block scripts %} {% block scripts %}
<a href="/announcement/add"><input type="submit" value="New Announcement"></a><br><br> <a href="/announcements/add"><input type="submit" value="New Announcement"></a><br><br>
<a href="/dashboard">Dashboard</a><br> <a href="/dashboard">Dashboard</a><br>
<a href="/assignments">Assignments</a><br> <a href="/assignments">Assignments</a><br>
<a href="/forum">Forum</a><br> <a href="/forum">Forum</a><br>
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
{% block scripts %} {% block scripts %}
<a href="/assignments/add"><input type="submit" value="New Assignment"></a><br><br> <a href="/assignments/add"><input type="submit" value="New Assignment"></a><br><br>
<a href="/dashboard">Dashboard</a><br> <a href="/dashboard">Dashboard</a><br>
<a href="/announcement">Announcements</a><br> <a href="/announcements">Announcements</a><br>
<a href="/forum">Forum</a><br> <a href="/forum">Forum</a><br>
<a href="/calendar">Calendar</a> <a href="/calendar">Calendar</a>
{% endblock %} {% endblock %}
\ No newline at end of file
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
{% endblock %} {% endblock %}
{% block scripts %} {% block scripts %}
<a href="/dashboard/widgetusers/add"><input type="submit" value="Add Widget User"></a><br> <a href="/dashboard/widgetusers/add"><input type="submit" value="Add Widget User"></a><br>
<a href="/announcement">Announcement Board</a><br> <a href="/announcements">Announcement Board</a><br>
<a href="/forum">Forum</a><br> <a href="/forum">Forum</a><br>
<a href="/assignments">Assignments</a><br> <a href="/assignments">Assignments</a><br>
<a href="/calendar">Calendar</a> <a href="/calendar">Calendar</a>
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
{% block scripts %} {% block scripts %}
<a href="/forum/forumposts/add"><input type="submit" value="New Post"></a><br><br> <a href="/forum/forumposts/add"><input type="submit" value="New Post"></a><br><br>
<a href="/dashboard">Dashboard</a><br> <a href="/dashboard">Dashboard</a><br>
<a href="/announcement">Announcements</a><br> <a href="/announcements">Announcements</a><br>
<a href="/assignments">Assignments</a><br> <a href="/assignments">Assignments</a><br>
<a href="/calendar">Calendar</a> <a href="/calendar">Calendar</a>
{% endblock %} {% endblock %}
\ No newline at end of file
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
{% block scripts %} {% block scripts %}
<a href="/calendar/events/add"><input type="submit" value="New Activity"></a><br><br> <a href="/calendar/events/add"><input type="submit" value="New Activity"></a><br><br>
<a href="/dashboard">Dashboard</a><br> <a href="/dashboard">Dashboard</a><br>
<a href="/announcement">Announcement Board</a><br> <a href="/announcements">Announcement Board</a><br>
<a href="/forum">Forum</a><br> <a href="/forum">Forum</a><br>
<a href="/assignments">Assignments</a><br> <a href="/assignments">Assignments</a><br>
{% endblock %} {% endblock %}
\ No newline at end of file
...@@ -2,7 +2,7 @@ from django.contrib import admin ...@@ -2,7 +2,7 @@ from django.contrib import admin
from django.urls import include, path from django.urls import include, path
urlpatterns = [ urlpatterns = [
path('announcement/', include('announcement.urls', namespace="announcement")), path('announcements/', include('announcement.urls', namespace="announcement")),
path('calendar/', include('widget_calendar.urls', namespace="widget_calendar")), path('calendar/', include('widget_calendar.urls', namespace="widget_calendar")),
path('assignments/', include('assignments.urls', namespace="assignments")), path('assignments/', include('assignments.urls', namespace="assignments")),
path('dashboard/', include('dashboard.urls', namespace="dashboard")), path('dashboard/', include('dashboard.urls', namespace="dashboard")),
......
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