openedx / openedx/openedx-platform

Team's Tab in course unit is breaking

Open
#38,210 1 comment 0 reactions 1 assignee View on GitHub

@salman2013 is already working on this.

Since Mar 25, 2026.

Dominant language
Python
Stars
8.2k
Forks
4.4k
Avg merge
6d 18h
Merged PRs (30d)
42

Description

Description

The team's tab html template is breaking Ref: https://github.com/openedx/public-engineering/issues/448#issuecomment-4084497457. In a previous change (https://github.com/openedx/public-engineering/issues/448), some discussion blocks's html templates were migrated from Mako to Django. One of these templates was still being used within team.html, which is a Mako template, causing the issue.

Proposed Solution:

Converting teams.html from Mako to Django is challenging because it depends on other templates such as main.html, which would also need to be migrated to ensure compatibility. Since main.html is widely used across other templates, converting it to Django would significantly increase the scope of changes and is not ideal at this stage.

To address this, I reverted the two templates back to Mako, as required by teams.html, and placed them within the teams directory. This ensures compatibility while keeping the scope of changes minimal.

How to test

  • Add two flags in django admin site teams.content_groups_for_teams, teams.enable_teams_app
  • On Studio go on page & resources, allow teams and add groups
  • On LMS we can see teams tab

PR: https://github.com/openedx/openedx-platform/pull/38207

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.