Commit 2b9d8c9f by Victor Shnayder

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

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