{#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 index screen content when no papers are available. author Dr Joseph Baxter copyright 2021 onwards The University of Nottingham Required variables - data.staff - is a staff member logged in data.issues - array of common list names and descriptions data.summativeissuelink - url to issue form data.futurepapers - number of papers available in the near future data.future - the paper detials Required localised language strings - lang.noexamsfound lang.note1 lang.staffmangscreens lang.mostLikely lang.noyear lang.nomodules lang.try lang.f5 lang.RaiseYourHand lang.notinalab lang.via lang.logissue lang.summativetesting lang.summativetestmsg #}

{{lang.noexamsfound}}

{% if data.staff %}

{{lang.note1|raw}} {{lang.staffmangscreens}} ?

{% endif %}

{{lang.mostLikely}}

    {% for i,issue in data.issues %}
  • {% if i == 'year' and issue.desc == 0 %} {{issue.name}} - {{lang.noyear}} {% elseif i == 'modules' and issue.desc == 0 %} {{issue.name}} - {{lang.nomodules}} {% elseif i == 'modules' %} {{issue.name}} - {% for year,mods in issue.desc %}
    {{year}}:
    {{mods}}
    {% endfor %} {% elseif i == 'user' %} {{issue.name}} - {% for idx,value in issue.desc %} {% if idx != 'Student' %} {{value}} {% else %} {{value}} {% endif %} {% endfor %} {% else %} {{issue.name}} - {{issue.desc|raw}} {% endif %}
  • {% endfor %}

{{lang.try}}

  • {{lang.f5}}
  • {{lang.RaiseYourHand}}

{{lang.notinalab}} {% if data.summativeissuelink != '' %} {{lang.via}} {{lang.logissue}} {% endif %}

{% if data.staff and data.futurepapers > 0 %}

{{lang.summativetesting}}

{{lang.summativetestmsg|raw}}

{% for mod,paper in data.future %}
{% for name,details in paper %}
  • {{details.title}}
    {{details.screen}}
    {{details.date}}, {{details.duration}}
    , {% for lab in details.labs %} {% if lab == details.currentlab %} {{lab}} {% else %} {{lab}} {% endif %} {% endfor %} {% for warning in details.warnings %}
    {{warning}}
    {% endfor %}
{% endfor %} {% endfor %} {% endif %}