diff --git a/~dev_rating/application/views/base.twig b/~dev_rating/application/views/base.twig index 06a6d19c1d197d399f60a9e0bfc83c71b89643d0..04d1b87ac82b9722215ae812b6867eda3e572c84 100644 --- a/~dev_rating/application/views/base.twig +++ b/~dev_rating/application/views/base.twig @@ -18,6 +18,7 @@ <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <title>{% block title %}{% endblock %} | {{ System.Title }}</title> + <meta http-equiv="Cache-Control" content="no-cache"> {{ HTML.style('media/css/base.css')|raw }} {{ HTML.style('media/css/global.css')|raw }} {{ HTML.style('media/css/messages.css')|raw }} diff --git a/~dev_rating/application/views/teacher/exam.twig b/~dev_rating/application/views/teacher/exam.twig index bfc3f592f2339fa4043acc1a6162fac3a7d329f1..49fa56e72cf6f35bbaf6920c340d040b5d653480 100644 --- a/~dev_rating/application/views/teacher/exam.twig +++ b/~dev_rating/application/views/teacher/exam.twig @@ -112,7 +112,8 @@ </td> {% else %} <td id="col_{{ col }}" class="commonCell {{ td_class }}"> - <input type="text" value="{{ r.Rate }}" {% if r.ModuleType == 'extra' %}placeholder="{{ student.Extra }}"{% endif %}> + <input type="text" value="{{ r.Rate }}" {% if r.ModuleType == 'extra' %} + placeholder="{% if r.MaxRate > 0 %} max {{r.MaxRate}} {% else %} 0 {% endif %}"{% endif %}> </td> {% endif %} {% endfor %}