Skip to content

Commit

Permalink
feat(unit-links): Moving number of questions to the vertical level
Browse files Browse the repository at this point in the history
  • Loading branch information
JackSteele24 authored and becdavid committed Jun 6, 2024
1 parent 3f7a78c commit 38b4ff0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lms/djangoapps/course_home_api/outline/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def get_blocks(self, block): # pylint: disable=missing-function-docstring
scored = block.get('scored')

if (settings.FEATURES.get('ENABLE_COURSEWARE_OUTLINE_QUESTION_COUNT') and
num_graded_problems and block_type == 'sequential'):
num_graded_problems and block_type == 'vertical'):
questions = ngettext('({number} Question)', '({number} Questions)', num_graded_problems)
display_name += ' ' + questions.format(number=num_graded_problems)

Expand Down

0 comments on commit 38b4ff0

Please sign in to comment.