diff --git a/cli/medperf/web_ui/templates/benchmark_detail.html b/cli/medperf/web_ui/templates/benchmark_detail.html index 448d35dfb..b612a720e 100644 --- a/cli/medperf/web_ui/templates/benchmark_detail.html +++ b/cli/medperf/web_ui/templates/benchmark_detail.html @@ -24,7 +24,11 @@
Description: {{ entity.description }}
-Documentation: {{ entity.docs_url }}
+ {% if entity.docs_url %} +Documentation: {{ entity.docs_url }}
+ {% else %} +Documentation: Not Available
+ {% endif %}Demo Dataset Tarball: {{ entity.demo_dataset_tarball_url }}
{{ entity.demo_dataset_tarball_hash }}
Description: {{ benchmark.description }}
- + {% if benchmark.docs_url %} + + {% else %} +Documentation: Not Available
+ {% endif %}Approval Status: {{ benchmark.approval_status }}
{{ entity.mlcube_hash }}
Parameters: {{ entity.git_parameters_url }}
{{ entity.parameters_hash }}
-Image Tarball: {{ entity.image_tarball_url }}
-{{ entity.image_tarball_hash }}
-Additional Files: {{ entity.additional_files_tarball_url }}
-{{ entity.additional_files_tarball_hash }}
+ {% if entity.image_tarball_url %} +Image Tarball: {{ entity.image_tarball_url }}
+{{ entity.image_tarball_hash }}
+ {% else %} +Image Tarball: Not Available
+N/A
+ {% endif %} + {% if entity.additional_files_tarball_url %} +Additional Files: {{ entity.additional_files_tarball_url }}
+{{ entity.additional_files_tarball_hash }}
+ {% else %} +Additional Files: Not Available
+N/A
+ {% endif %}