Index: lams_central/conf/language/lams/ApplicationResources_en_AU.properties =================================================================== diff -u -r62d7d12f220dd25f8a9ddee2e594088f5cea6384 -r9129a47464a8fe42da6f861e9b1d3785e0974a2c --- lams_central/conf/language/lams/ApplicationResources_en_AU.properties (.../ApplicationResources_en_AU.properties) (revision 62d7d12f220dd25f8a9ddee2e594088f5cea6384) +++ lams_central/conf/language/lams/ApplicationResources_en_AU.properties (.../ApplicationResources_en_AU.properties) (revision 9129a47464a8fe42da6f861e9b1d3785e0974a2c) @@ -597,6 +597,7 @@ authoring.fla.branch.mapping.default.branch.suffix =(default) authoring.fla.complex.output.suffix =(user defined) authoring.fla.range.output.suffix =(range) +authoring.fla.boolean.output.suffix =(boolean: 1 or 0) authoring.fla.range.condition.description =Range [0] to [1] authoring.fla.exact.condition.description =Exact value of authoring.fla.less.condition.description =Less than or eq Index: lams_central/web/authoring/authoring.jsp =================================================================== diff -u -r6c7122de5737ab054120c52ffc2fd174a55ed972 -r9129a47464a8fe42da6f861e9b1d3785e0974a2c --- lams_central/web/authoring/authoring.jsp (.../authoring.jsp) (revision 6c7122de5737ab054120c52ffc2fd174a55ed972) +++ lams_central/web/authoring/authoring.jsp (.../authoring.jsp) (revision 9129a47464a8fe42da6f861e9b1d3785e0974a2c) @@ -227,6 +227,8 @@ COMPLEX_OUTPUT_SUFFIX : '', RANGE_OUTPUT_SUFFIX : '', + + BOOLEAN_OUTPUT_SUFFIX : '', RANGE_CONDITION_DESCRIPTION : '', Index: lams_central/web/includes/javascript/authoring/authoringProperty.js =================================================================== diff -u -ra90ad4390ea5b15dbc210c1e629e1cae24b7820e -r9129a47464a8fe42da6f861e9b1d3785e0974a2c --- lams_central/web/includes/javascript/authoring/authoringProperty.js (.../authoringProperty.js) (revision a90ad4390ea5b15dbc210c1e629e1cae24b7820e) +++ lams_central/web/includes/javascript/authoring/authoringProperty.js (.../authoringProperty.js) (revision 9129a47464a8fe42da6f861e9b1d3785e0974a2c) @@ -1,4 +1,4 @@ -/** +/** * This file contains methods for Activity properties dialogs. */ @@ -1049,6 +1049,10 @@ case 'OUTPUT_LONG' : suffix = LABELS.RANGE_OUTPUT_SUFFIX; break; + + case 'OUTPUT_BOOLEAN' : + suffix = LABELS.BOOLEAN_OUTPUT_SUFFIX; + break; }; this.toolActivityUIID = activity.input.uiid; @@ -1541,13 +1545,24 @@ gradebookDropdown = $('.propertiesContentFieldGradebook', activity.propertiesContent).empty().append(emptyOption); // build output dropdown and bind data to each option $.each(activity.outputDefinitions,function(){ - if (this.type != 'OUTPUT_LONG') { + if (this.type != 'OUTPUT_LONG' && this.type != 'OUTPUT_BOOLEAN') { return true; } optionsFound = true; + var suffix = ''; + switch(this.type) { + case 'OUTPUT_BOOLEAN' : + suffix = LABELS.BOOLEAN_OUTPUT_SUFFIX; + break; + + case 'OUTPUT_LONG' : + suffix = LABELS.RANGE_OUTPUT_SUFFIX; + break; + }; + var option = $('