Closed jbpenrath closed 2 months ago
Problematic behavior In the contract definition template, in the header, the course effort is displayed in several units according to its value.
Expected behavior/code In the contract definition template, in the header, the course effort should be displayed in hours.
I did not reproduce this issue in my local environment ... My assumption is that we are reaching the else statement in the contract definition template. (L104 in the following code sample) https://github.com/openfun/joanie/blob/b7491ec2378e7f5ecd819f28042bcde578ff65da/src/backend/joanie/core/templates/issuers/contract_definition.html#L94-L108
Bug Report
Problematic behavior In the contract definition template, in the header, the course effort is displayed in several units according to its value.
Expected behavior/code In the contract definition template, in the header, the course effort should be displayed in hours.
I did not reproduce this issue in my local environment ... My assumption is that we are reaching the else statement in the contract definition template. (L104 in the following code sample) https://github.com/openfun/joanie/blob/b7491ec2378e7f5ecd819f28042bcde578ff65da/src/backend/joanie/core/templates/issuers/contract_definition.html#L94-L108