Looking at it again, there's no longer any particular reason that section needed to be in dashboard_course_listing.html, so I've now moved it back to dashboard.html