<%! from django.utils.translation import ugettext as _ from django.template.defaultfilters import escapejs %> <%page args="section_data"/> %if not any (section_data.values()):

${_("There is no data available to display at this time.")}

%else: <%namespace name="d3_stacked_bar_graph" file="/class_dashboard/d3_stacked_bar_graph.js"/> <%namespace name="all_section_metrics" file="/class_dashboard/all_section_metrics.js"/>

${_("Use Reload Graphs to refresh the graphs.")}

${_("Subsection Data")}

${_("Each bar shows the number of students that opened the subsection.")}

${_("You can click on any of the bars to list the students that opened the subsection.")}

${_("You can also download this data as a CSV file.")}

${_("Grade Distribution Data")}

${_("Each bar shows the grade distribution for that problem.")}

${_("You can click on any of the bars to list the students that attempted the problem, along with the grades they received.")}

${_("You can also download this data as a CSV file.")}

%for i in range(0, len(section_data['sub_section_display_name'])):

${_("Section")}: ${section_data['sub_section_display_name'][i]}

${_("Grade Distribution per Problem")}

%endfor %endif