diff --git a/vulnerabilities/templates/pipeline_run_details.html b/vulnerabilities/templates/pipeline_run_details.html index 881d56c95..5f7f0ebd1 100644 --- a/vulnerabilities/templates/pipeline_run_details.html +++ b/vulnerabilities/templates/pipeline_run_details.html @@ -34,101 +34,100 @@ {% endblock %} {% block content %} -
Pipeline ID
-- {{ run.pipeline.pipeline_id }} - - -
-Status
-- {% include "includes/job_status.html" with status=run.status compact=True %} -
-Runtime
-- {% if run.runtime %} +
Pipeline ID
++ {{ run.pipeline.pipeline_id }} + + +
+Status
++ {% include "includes/job_status.html" with status=run.status compact=True %} +
+Runtime
++ {% if run.runtime %} {{ run.runtime|humanize_duration }} - {% else %} + {% else %} N/A - {% endif %} -
-Exit Code
-{{ run.run_exitcode|default_if_none:"N/A" }}
-Start
-- {% if run.run_start_date %} + {% endif %} +
+Exit Code
+{{ run.run_exitcode|default_if_none:"N/A" }}
+Start
++ {% if run.run_start_date %} {{ run.run_start_date|date:"Y-m-d h:i a T" }} - {% else %} + {% else %} N/A - {% endif %} -
-End
-- {% if run.run_end_date %} + {% endif %} +
+End
++ {% if run.run_end_date %} {{ run.run_end_date|date:"Y-m-d h:i a T" }} - {% else %} + {% else %} N/A - {% endif %} -
-Created
-{{ run.created_date|date:"Y-m-d h:i a T" }}
-Version
-{{ run.vulnerablecode_version }}
-Commit
-- {% if run.vulnerablecode_commit %} - - {{ run.vulnerablecode_commit }} - - - {% endif %} -
-Job ID
-- {{ run.run_id }} - - -
+ {% endif %} + +Created
+{{ run.created_date|date:"Y-m-d h:i a T" }}
+Version
+{{ run.vulnerablecode_version }}
+Commit
++ {% if run.vulnerablecode_commit %} + + {{ run.vulnerablecode_commit }} + + + {% endif %} +
+Job ID
++ {{ run.run_id }} + + +
+@@ -136,59 +135,61 @@
{{ run.run_output }}
+ {% if run.run_output|strip %}
+ {{ run.run_output }}
+ +-- - Snippet 1 - -++ + Snippet 1 + ++