26 lines
902 B
Smarty
26 lines
902 B
Smarty
|
<responseCondition>
|
||
|
<responseIf>
|
||
|
<{{condition}}>
|
||
|
{{~#if response}}
|
||
|
{{~#if mapResponsePoint}}
|
||
|
<mapResponsePoint identifier="{{response}}" />
|
||
|
{{~else}}
|
||
|
<mapResponse identifier="{{response}}" />
|
||
|
{{~/if}}
|
||
|
{{~else}}
|
||
|
<variable identifier="{{outcome}}" />
|
||
|
{{~/if}}
|
||
|
<baseValue baseType="float">{{comparedValue}}</baseValue>
|
||
|
</{{condition}}>
|
||
|
<setOutcomeValue identifier="{{feedback.outcome}}">
|
||
|
<baseValue baseType="identifier">{{feedback.then}}</baseValue>
|
||
|
</setOutcomeValue>
|
||
|
</responseIf>
|
||
|
{{~#if feedback.else}}
|
||
|
<responseElse>
|
||
|
<setOutcomeValue identifier="{{feedback.outcome}}">
|
||
|
<baseValue baseType="identifier">{{feedback.else}}</baseValue>
|
||
|
</setOutcomeValue>
|
||
|
</responseElse>
|
||
|
{{~/if}}
|
||
|
</responseCondition>
|