<%page args="gate_content, prereq_url, prereq_section_name, unit_name, score_reached, calculate_score" expression_filter="h"/> <%! from django.utils.translation import ugettext as _ from openedx.core.djangolib.markup import HTML, Text %>

${unit_name}


% if calculate_score: % elif score_reached: ${_("Score achieved!")} % else: ${_("Content Locked")} % endif

% if score_reached:

${_("Congratulations you have unlocked this section!")}

% elif not calculate_score: ${Text(_( "You must complete the section '{section_name}' with the required score before you are able to view this content." )).format(section_name=prereq_section_name)}

% endif