File tree 2 files changed +5
-2
lines changed
2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -302,7 +302,10 @@ def is_listed(cls, entry):
302
302
return (
303
303
entry .get ('category_status' ) != LearningObjectCategory .STATUS .HIDDEN
304
304
and entry .get ('module_status' ) != CourseModule .STATUS .UNLISTED
305
- and entry ['status' ] != LearningObject .STATUS .UNLISTED
305
+ and not entry ['status' ] in (
306
+ LearningObject .STATUS .UNLISTED ,
307
+ LearningObject .STATUS .MAINTENANCE ,
308
+ )
306
309
)
307
310
if t == 'module' :
308
311
return entry ['status' ] != CourseModule .STATUS .UNLISTED
Original file line number Diff line number Diff line change 15
15
{% if entry.is_empty %}
16
16
{{ entry.name|parse_localization }}
17
17
{% else %}
18
- < a href ="{{ entry.link }} " class =" {% if entry|is_in_maintenance %}maintenance{% endif %} " > {{ entry.name|parse_localization }}</ a >
18
+ < a href ="{{ entry.link }} "> {{ entry.name|parse_localization }}</ a >
19
19
{% endif %}
20
20
{% if entry.submission_count %}
21
21
{% points_badge entry %}
You can’t perform that action at this time.
0 commit comments