Skip to content

Commit

Permalink
templates: fix display of recommended container images
Browse files Browse the repository at this point in the history
  • Loading branch information
tiborsimko committed Jan 23, 2024
1 parent 147be89 commit 2c60af6
Showing 1 changed file with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -176,8 +176,8 @@ <h2>System details</h2>
<label>Recommended <a href="/docs/cms-guide-for-condition-database">global tag</a> for analysis:</label>
{% endif %}
<span>{{record.system_details.global_tag}}</span>
{% endif %}
<br>
{% endif %}
{% if record.system_details.release %}
{% if record.type.primary == 'Software' %}
<label>Software release:</label>
Expand All @@ -187,15 +187,15 @@ <h2>System details</h2>
<label>Recommended release for analysis:</label>
{% endif %}
<span>{{record.system_details.release}}</span>
{% if record.system_details.container_images %}
<br>
<span>Recommended container image for analyses is available in the following locations (<a href="/docs/cms-guide-docker">see guide</a>): </span>
<ul>
{% for container_image in record.system_details.container_images %}
<li><code>{{ container_image.name }}</code></li>
{% endfor %}
</ul>
{% endif %}
<br>
{% endif %}
{% if record.system_details.container_images %}
<span>Recommended container image for analyses is available in the following locations (<a href="/docs/cms-guide-docker">see guide</a>): </span>
<ul>
{% for container_image in record.system_details.container_images %}
<li><code>{{ container_image.name }}</code></li>
{% endfor %}
</ul>
{% endif %}
{% if record.system_details.recid %}
<p>
Expand Down

0 comments on commit 2c60af6

Please sign in to comment.