feat: paid unpaid named course modes

Add executive education variants for paid and unpaid modes.

PROD-2708
This commit is contained in:
uzairr
2022-03-02 19:10:01 +05:00
parent 68e0885ca8
commit 7bc56c46ed
6 changed files with 72 additions and 8 deletions

View File

@@ -29,6 +29,16 @@ from openedx.core.djangolib.markup import HTML, Text
<th scope="row">${_("Executive Education")}</th><td>${modes['executive-education']}</td>
</tr>
%endif
%if modes["unpaid-executive-education"] > 0:
<tr>
<th scope="row">${_("Unpaid Executive Education")}</th><td>${modes['unpaid-executive-education']}</td>
</tr>
%endif
%if modes["paid-executive-education"] > 0:
<tr>
<th scope="row">${_("Paid Executive Education")}</th><td>${modes['paid-executive-education']}</td>
</tr>
%endif
%if modes['masters'] > 0:
<tr>
<th scope="row">${_("Master's")}</th><td>${modes['masters']}</td>