changed name of templates DetailView to assignment_detail and ListView to assignment_list

parent 76ecb59b
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
<li>No assignments found.</li> <li>No assignments found.</li>
{% else %} {% else %}
{% for assignment in course.assignment_set.all %} {% for assignment in course.assignment_set.all %}
<a class="table-links" href='{{request.path}}{{assignment.pk}}/details'><li class="assignment-name">{{assignment.name}}</li></a> <a class="table-links" href='{{request.path}}{{assignment.pk}}/details'><li class="assignment-name">{{assignment.name}}</li></a><br>
{% endfor %} {% endfor %}
{% endif %} {% endif %}
</ul> </ul>
...@@ -30,4 +30,8 @@ ...@@ -30,4 +30,8 @@
<div class="table-gutter"></div> <div class="table-gutter"></div>
{% endfor %} {% endfor %}
{% endif %} {% endif %}
<a class="new-user-link" href="/assignments/add">Add Assignment</a>
<div class="table-gutter"></div>
<div class="table-gutter"></div>
<div class="table-gutter"></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