Override html in xblock


Is there a way to override the html of xblock ora2 and edx_sga in the theme or is it necessary to fork.

The files I want to modify are:

  • edx_sga

    • show.html
  • ora2

    • oa_grade_available_responses.html
    • oa_base.html

ora2 gets installed as a Django application and uses the standard Django template loading mechanism, so you should be able to follow the instructions on How to override templates to override them without modifying ora2 itself.

On the other hand, edx_sga loads template files using pkg_resources, which means you would have to modify its code and install the new version in order to override its templates.