Skip to content

Commit

Permalink
Adds in additionals params for ProgramRecordFactory
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeff LaJoie authored and jlajoie committed Jul 23, 2018
1 parent 9947576 commit 6f02e73
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion edx_credentials_themes/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '0.1.20'
__version__ = '0.1.21'
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@
<script type="text/javascript">
ProgramRecordFactory('program-record', {
record: JSON.parse('{{record|escapejs}}'),
helpUrl: '{{records_help_url}}',
isPublic: {{ is_public|yesno:"true,false"}},
uuid: '{{uuid}}',
icons: {
micromasters: '{% spaceless %}{% include "edx.org/images/micromasters-icon.svg" %}{% endspaceless %}',
professional_certificate: '{% spaceless %}{% include "edx.org/images/professional-certificate-icon.svg" %}{% endspaceless %}',
Expand Down

0 comments on commit 6f02e73

Please sign in to comment.