Commit bbd57ef7 by Victor Shnayder

don't show empty list if there is no error data

parent 8500a1b3
......@@ -110,7 +110,11 @@ table.stat_table td {
<ul>
% for (summary, err) in course_errors:
<li>${summary | h}
% if err:
<ul><li><pre>${err | h}</pre></li></ul>
% else:
<p>&nbsp;</p>
% endif
</li>
% endfor
</ul>
......
Markdown is supported
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