{#This file is part of Rogō Rogō 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. Rogō 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 Rogō. If not, see . #} {# This template is for the paper header display. author Dr Joseph Baxter copyright 2018 onwards The University of Nottingham Required variables - data.action - form to post data to data.previewmode - are we in question preview mode data.papertitle - paper title data.screen - screen display info data.logopath - path to site logo data.print - flag to indicate if the question is being printed data.student - the student for the student this is feedback for Required localised language strings - lang.student lang.answersscreen lang.examprogress #}
{% if data.print == 0 %}
{% for number,id in data.hidden %} {% endfor %}
{# Not all information shown on question preview #} {% if data.previewmode %}
{% else %}

{{data.papertitle}}

{% if data.student|length > 0 %} {% if data.student['name'] != '' %} {{lang.answersscreen}} {{data.student['name']}} ({{data.student['id']}}) {% elseif data.student['id'] != null %} {{lang.student}} {{data.student['id']}} {% endif %} {% endif %}
{% if data.screen|length > 0 %} {% for s in data.screen %} {% if s.screentype == 'scr_cur' %} {% set current = s.pageno %} {% endif %} {% endif %} {% if data.examclarification != '' %} {% endif %} {% else %}

{{data.papertitle}}

Logo
{% endif %}