Permalink
Browse files

Added report card information

  • Loading branch information...
1 parent e0bb63e commit 1d92a635193a8ed7d78240fba72d09051e9c77dc David Petersen committed Jun 15, 2011
@@ -48,6 +48,7 @@
<div>
<ul>
<li><a href="/transcript"><span>Transcript</span></a></li>
+ <li><a href="/transcript/report_card"><span>Report Card</span></a></li>
</ul>
</div>
</li>
@@ -0,0 +1,8 @@
+{% extends "application.html" %}
+
+{% block content %}
+<div class="span-24 last">
+ <h1>Report Card</h1>
+ <h2>Grade Distribution</h2>
+</div>
+{% endblock %}
View
@@ -1,6 +1,7 @@
from django.conf.urls.defaults import *
urlpatterns = patterns('transcript.views',
- (r'^$', 'index')
+ (r'^$', 'index'),
+ (r'^report_card/$','report_card')
)
View
@@ -13,4 +13,5 @@ def index(request):
transcript = regclass.transcript.sort_by_term()
return render_to_response('transcript/index.html', {'transcript':transcript, 'credits': regclass.transcript.credits, 'gpa': regclass.transcript.gpa})
-
+def report_card(request):
+ return render_to_response('transcript/report_card.html')

0 comments on commit 1d92a63

Please sign in to comment.