Skip to content

Commit

Permalink
Show publish_info in base image UI (#1697)
Browse files Browse the repository at this point in the history
The API for base images can expose a `publish_info` field. Display it if
it exists.

This is similar to the "Publish Info" for Teletraan builds
  • Loading branch information
osoriano authored Aug 16, 2024
1 parent 5fcda63 commit 2e49483
Showing 1 changed file with 19 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,24 @@
{{ current_image.cell_name }}
</td>
</tr>
<tr>
<td>Publish Info</td>
<td>
{% if current_image.publish_info %}
<a class="deployToolTip" data-toggle="tooltip"
title="Click to see the details of jenkins build job"
href='{{ current_image.publish_info }}'
>
<i class="fa fa-wrench"></i>
Publisher Information
</a>
{% else %}
<span> <i class="fa fa-wrench"></i>
Publisher Information
</span>
{% endif %}
</td>
</tr>
<tr>
<td>Golden Tags</td>
<td>
Expand Down Expand Up @@ -88,4 +106,4 @@
</a>
{% endfor %}
</div>
</div>
</div>

0 comments on commit 2e49483

Please sign in to comment.