Skip to content
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

Closed

Conversation

caesar2164
Copy link
Contributor

% 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'/>
Copy link
Contributor

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?

@caesar2164
Copy link
Contributor Author

@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}"
Copy link
Contributor

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"?

Copy link
Contributor Author

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...

@caesar2164 caesar2164 closed this Feb 11, 2014
@caesar2164 caesar2164 deleted the giulio/evergreen-cert-text-and-UI branch February 11, 2014 21:52
@caesar2164 caesar2164 restored the giulio/evergreen-cert-text-and-UI branch February 13, 2014 23:37
@caesar2164 caesar2164 reopened this Feb 13, 2014
@caesar2164
Copy link
Contributor Author

@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…)

@caesar2164 caesar2164 closed this Mar 12, 2014
@benpatterson benpatterson deleted the giulio/evergreen-cert-text-and-UI branch January 21, 2015 13:12
jenkins-ks pushed a commit to nttks/edx-platform that referenced this pull request Jun 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
open-source-contribution PR author is not from Axim or 2U
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants