From 24401a24075ffd57b24a000f50c60873b55ec55c Mon Sep 17 00:00:00 2001 From: Mohammad Iskandarany <43501040+M7mdisk@users.noreply.github.com> Date: Fri, 16 Aug 2024 15:46:38 +0300 Subject: [PATCH] feat: show digest for OCI images in resources tab (#1973) --- templates/details/resources.html | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/templates/details/resources.html b/templates/details/resources.html index 59536a5a2..a245db16d 100644 --- a/templates/details/resources.html +++ b/templates/details/resources.html @@ -70,6 +70,8 @@

Release history

Date {% if resource.type == "file" %} Size + {% else %} + Digest {% endif %} @@ -80,6 +82,8 @@

Release history

{{ revision.updated }} {% if resource.type == "file" %} {{ revision.size }} + {% else %} + {{ revision.download["hash-sha-256"][:12] }} {% endif %} {% endfor %}