Move <HR> inside of template conditional

Otherwise, if `settings.ENABLE_INSTRUCTOR_ANALYTICS` is set to `False`,
two horizontal rules are rendered consecutively.

The <HR> has also been indented to align with surrounding tags.
Merge pull request #5275 from stvstnfrd/dashboard/analytics/hr

Move <HR> inside of template conditional