Commit 6694d9e0 by Albert St. Aubin

Added a Django Admin page for Entitlements.

parent d0506c38
from django.contrib import admin
from .models import CourseEntitlement
@admin.register(CourseEntitlement)
class EntitlementAdmin(admin.ModelAdmin):
list_display = ('user_id', 'root_course_id', 'enroll_end_date',
'mode', 'enrollment_course_id', 'is_active')
......@@ -3,7 +3,6 @@ from django.contrib.auth.models import User
from student.models import CourseEnrollment
from course_modes.models import CourseMode
class CourseEntitlement(models.Model):
"""
Represents a Student's Entitlement to a Course Run for a given Course.
......
......@@ -49,7 +49,7 @@
<div class="course-list js-course-list-in-progress row"></div>
</div>
<% } %>
<div class="in-progress-group">
<div class="entitlements-group">
<h4 class="course-list-heading">
<span class="status"><%- gettext('COURSE ENTITLEMENTS') %></span>
<span class="count"><%- entitlementCount %></span>
......
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