Skip to content

Commit

Permalink
feat(badges): Setup Badges tab to be hideable or movable.
Browse files Browse the repository at this point in the history
- Removed the dynamic tab for badges and made this hideable or moveable with `is_default`.

Looking at `is_default` we may need to republish Advanced Settings in the course for the Badge tab to appear.
https://openedx.atlassian.net/wiki/spaces/AC/pages/30965919/Adding+a+new+course+tab
  • Loading branch information
ztraboo authored and becdavid committed Jan 18, 2024
1 parent ff2dede commit f1ce896
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lms/djangoapps/courseware/tabs.py
Original file line number Diff line number Diff line change
Expand Up @@ -381,9 +381,9 @@ class BadgesTab(EnrolledTab):
type = "badges_progress"
title = gettext_noop(
"Badges") # We don't have the user in this context, so we don't want to translate it at this level.
priority = 50
priority = None
view_name = "badges_progress"
is_dynamic = True
is_default = True
is_movable = True
is_hideable = True

Expand Down

0 comments on commit f1ce896

Please sign in to comment.