-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
edited CME cert name and fixed dashboard display (DO NOT MERGE) #2483
Conversation
% if course.may_certify() and cert_status and not enrollment.mode == 'audit': | ||
<%include file='_dashboard_certificate_information.html' args='cert_status=cert_status,course=course, enrollment=enrollment'/> | ||
% if course.may_certify() and cert_status['status'] != 'processing' or course.has_ended() and cert_status and not enrollment.mode == 'audit': | ||
<%include file='_dashboard_certificate_information.html' args='cert_status=cert_status,course=course, enrollment=enrollment'/> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's up with weird whitespace around cert_status near eol?
@jrbl - one more look? (I've added all the code that was missing…) |
if settings.FEATURES.get('USE_CME_REGISTRATION', False): | ||
cert_text = "CME Certificate" | ||
else: | ||
cert_text = "{certtext}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Under what circumstances do you imagine certtext and USE_CME_REGISTRATION both being set, and the contents of certtext being something other than "CME Certificate"?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jrbl - the circumstance when I search and replace without thinking...
@sefk - can I put this branch on the CME server and do some testing on it? (If it all goes well it would go into next release…) |
@jrbl