diff --git a/html-templates/scienceleadership-narratives/_body.tpl b/html-templates/scienceleadership-narratives/_body.tpl index 8467ba8..5e9178c 100644 --- a/html-templates/scienceleadership-narratives/_body.tpl +++ b/html-templates/scienceleadership-narratives/_body.tpl @@ -1,7 +1,7 @@ {extends "sbg/section-term-reports/_body.tpl"} {block fields} - {if $Report->Grade} + {if $.get.print.grade != 'no' && $Report->Grade}
Overall Grade
{$Report->Grade}
diff --git a/sencha-workspace/packages/scienceleadership-narratives/overrides/TermReportPrintContainer.js b/sencha-workspace/packages/scienceleadership-narratives/overrides/TermReportPrintContainer.js new file mode 100644 index 0000000..919d183 --- /dev/null +++ b/sencha-workspace/packages/scienceleadership-narratives/overrides/TermReportPrintContainer.js @@ -0,0 +1,16 @@ +Ext.define('ScienceLeadership.narratives.overrides.TermReportPrintContainer', { + override: 'SlateAdmin.view.progress.terms.print.Container', + + + initComponent: function() { + var me = this; + + me.callParent(arguments); + + me.down('fieldset#includeFieldset').add({ + boxLabel: 'Overall Grade', + name: 'print[grade]', + checked: true + }); + } +}); \ No newline at end of file diff --git a/sencha-workspace/packages/scienceleadership-narratives/package.json b/sencha-workspace/packages/scienceleadership-narratives/package.json index 7c9224c..c30a940 100644 --- a/sencha-workspace/packages/scienceleadership-narratives/package.json +++ b/sencha-workspace/packages/scienceleadership-narratives/package.json @@ -62,7 +62,7 @@ * Typically, changes to the package should come along with changes to the version. * This number should be in this format: d+(.d+)* */ - "version": "1.1.4", + "version": "1.1.5", /** * The version that users can transparently update from without requiring code changes.