Skip to content

Commit

Permalink
added in coursesRequired.
Browse files Browse the repository at this point in the history
  • Loading branch information
hcwiley committed Apr 19, 2012
1 parent 14f31ab commit 4763636
Showing 1 changed file with 23 additions and 12 deletions.
35 changes: 23 additions & 12 deletions templates/college/major.html
@@ -1,14 +1,25 @@
{% extends base_template %}
{% block center %} <h3>{{ major }}</h3>
<p>degree type: {{ major.degree_type }}</p>
<a href='{{ major.college.get_absolute_url }}'>
<li>
College : {{ major.college }}
</li> </a>
{% if major.department %}
<a href='{{ major.department.get_absolute_url }}'>
<li>
Department : {{ major.department }}
</li> </a>
{% endif %}
{% endblock %}
<p>
degree type: {{ major.degree_type }}
</p>
<div class='column'>
<a href='{{ major.college.get_absolute_url }}'>
<li>
College : {{ major.college }}
</li> </a>
{% if major.department %}
<a href='{{ major.department.get_absolute_url }}'>
<li>
Department : {{ major.department }}
</li> </a>
{% endif %}
</div>
<div class='column'>
{% for course in major.coursesRequired.all %}
<a href='{{ course.get_absolute_url }}'>
<li>
{{ course.title }}
</li> {% endfor %}
</div>
{% endblock %}

0 comments on commit 4763636

Please sign in to comment.