diff --git a/bin/entrypoint b/bin/entrypoint
index 279f90b..41f056e 100755
--- a/bin/entrypoint
+++ b/bin/entrypoint
@@ -8,6 +8,10 @@ if [ -z "${DELETE_IMAGES}" ] || [ "${DELETE_IMAGES}" = false ] ; then
sed -i -r "s/(isImageRemoveActivated[:=])[^,;]*/\1false/" scripts/docker-registry-ui.js
fi
+if [ "${SHOW_CONTENT_DIGEST}" = false ] ; then
+ sed -i -r "s/(showContentDigest[:=])[^,;]*/\1false/" scripts/docker-registry-ui.js
+fi
+
get_nginx_proxy_headers() {
(
env &&
diff --git a/src/scripts/script.js b/src/scripts/script.js
index 9fa49f4..70ad383 100644
--- a/src/scripts/script.js
+++ b/src/scripts/script.js
@@ -17,6 +17,7 @@
var registryUI = {}
registryUI.URL_QUERY_PARAM_REGEX = /[&?]url=/;
registryUI.URL_PARAM_REGEX = /^url=/;
+registryUI.showContentDigest = true;
registryUI.url = function(byPassQueryParam) {
if (!registryUI._url) {
diff --git a/src/scripts/static.js b/src/scripts/static.js
index 9267489..112cd15 100644
--- a/src/scripts/static.js
+++ b/src/scripts/static.js
@@ -33,6 +33,7 @@ registryUI.name = function() {
};
registryUI.pullUrl = '${PULL_URL}';
registryUI.isImageRemoveActivated = true;
+registryUI.showContentDigest = true;
registryUI.catalog = {};
registryUI.taglist = {};
registryUI.taghistory = {};
diff --git a/src/style.css b/src/style.css
index 9169b83..a5d224f 100644
--- a/src/style.css
+++ b/src/style.css
@@ -446,6 +446,14 @@ image-content-digest {
padding: 7px 5px;
}
+taglist .creation-date {
+ width: 10em;
+}
+
+taglist .image-size {
+ width: 7em;
+}
+
catalog material-card,
tag-history material-card {
min-height: auto;
diff --git a/src/tags/taglist.tag b/src/tags/taglist.tag
index 9169054..8669a6b 100644
--- a/src/tags/taglist.tag
+++ b/src/tags/taglist.tag
@@ -41,9 +41,9 @@ along with this program. If not, see
Creation date | -Size | -Content Digest | +Creation date | +Size | +Content Digest | . |
---|---|---|---|---|---|---|
+ |
|
- + |
|
- + |
|