{#This file is part of ExamSys
ExamSys is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
ExamSys is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with ExamSys. If not, see .
#}
{#
This template is for the master question header display.
author Dr Joseph Baxter
copyright 2018 onwards The University of Nottingham
Required variables -
data.unansweredkey - flag to indicate if unanswered question key should be displayed
data.displayprologue - flag to indicate if prologue should be displayed
data.prologue - prologue
data.displaytheme - flag to indicate if theme should be displayed
data.theme - theme
data.displaydefault - flag to indicate if default settings should be displayed
data.assignednumber - question number
data.displaycalc - flag to indicate if calculator should be displayed
data.displaynotes - flag to indicate if notes should be displayed
data.notes - notes
Required localised strings -
lang.unansweredquestion - unanswered questions blurb
lang.calculator - calculator
lang.note - note
lang.prologue - the question prologue label
lang.questionheader - the question landmark region name
#}
{% if data.unansweredkey %}
{{lang.unansweredquestion}}
{% endif %}
{% if data.displayprologue %}
{{data.prologue|raw}}
{% endif %}
{% if data.questiontype == 'info' %}
{% else %}
{% endif %}
{% if data.displaytheme %}
{{data.theme}}
{% endif %}
{% if data.displaydefault %}
{{data.assignednumber}}.
{% if data.displaycalc %}
{% endif %}