Add separator between each file's errors
authorKarl O. Pinc <kop@karlpinc.com>
Mon, 18 Jan 2021 00:58:55 +0000 (18:58 -0600)
committerKarl O. Pinc <kop@karlpinc.com>
Mon, 18 Jan 2021 00:58:55 +0000 (18:58 -0600)
src/pgwui_bulk_upload/templates/bulk_upload.mak

index 9939da58cfe1fd48b827cfa8cd9b1fba9ec74de2..220cbf7284a7776050bb4fbb414608cfa0160303 100644 (file)
 </%block>
 
 <%def name="file_errors(errors, filepath)">
-  <%
-  if filepath is not None:
+  % if filepath is not None:
+      <%
       file_info = statmap[filepath]
       file_lines = file_info[0]
       relation = file_info[1]
+      %>
+      <hr class="errorsep"></hr>
+      <%
       self.error_file_summary(len(errors), file_lines, filepath, relation)
-  self.error_items(errors)
+      %>
+  % endif
+  <%
+  self.error_items(errors, sepclass='lightsep')
   %>
 </%def>