Skip to content
Snippets Groups Projects
Commit c24433ed authored by Антон Шалимов's avatar Антон Шалимов
Browse files

...

parent dfc569d9
Branches
Tags
No related merge requests found
......@@ -113,7 +113,7 @@
{% else %}
<td id="col_{{ col }}" class="commonCell {{ td_class }}">
<input type="text" value="{{ r.Rate }}" {% if r.ModuleType == 'extra' %}
placeholder="{% if r.MaxRate > 0 %} max {{r.MaxRate}} {% else %} 0 {% endif %}"{% endif %}>
placeholder="{% if r.MaxRate > 0 %} макс. {{r.MaxRate}} {% else %} --- {% endif %}"{% endif %}>
</td>
{% endif %}
{% endfor %}
......
......@@ -101,9 +101,10 @@ $(function() {
if (t > 31 && t < 39)
g_submoduleMaxRate = 38 - t;
else g_submoduleMaxRate = 0;
if (g_submoduleMaxRate > 0)
jThis.children("input").attr("placeholder", "max "+g_submoduleMaxRate);
else jThis.children("input").attr("placeholder", "0");
//if (g_submoduleMaxRate > 0)
// jThis.children("input").attr("placeholder", "макс. "+g_submoduleMaxRate);
//else jThis.children("input").attr("placeholder", "---");
}
// Получаем студента
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment