fixed to match new base.html

parent dad1d942
...@@ -9,15 +9,16 @@ ...@@ -9,15 +9,16 @@
{{assignment.name}} {{assignment.name}}
{% endblock %} {% endblock %}
{% block content %} {% block header %}Assignment Details{% endblock %}
<h2>Assignment Details</h2>
{% block content %}
<span id="details">
Course: {{assignment.course.code}} {{assignment.course.title}} {{assignment.course.section}}<br> Course: {{assignment.course.code}} {{assignment.course.title}} {{assignment.course.section}}<br>
Name: {{assignment.name}}<br> Name: {{assignment.name}}<br>
Description: {% if assignment.description != None and assignment.description != '' %}{{ assignment.description }}{% else %}No description provided.{% endif %}<br> Description: {% if assignment.description != None and assignment.description != '' %}{{ assignment.description }}{% else %}No description provided.{% endif %}<br>
Perfect score: {{assignment.max_points}}<br> Perfect score: {{assignment.max_points}}<br>
Passing score: {{assignment.passing_score}}<br> Passing score: {{assignment.passing_score}}<br>
Image: <br> Image: {% if assignment.image != None %}<br>{{assignment.image}}{% else %}No image provided.{% endif %}<br>
</span>
{% 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