From d6c26587481157936b7f5644eb0082be8607de21 Mon Sep 17 00:00:00 2001 From: Gaelle Letort Date: Tue, 21 Jul 2026 11:14:10 +0200 Subject: [PATCH 1/2] Show name of the update site in the statbox, listed or unlisted --- _includes/layout/statbox | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/_includes/layout/statbox b/_includes/layout/statbox index 41583436d5..66c288d357 100644 --- a/_includes/layout/statbox +++ b/_includes/layout/statbox @@ -73,6 +73,8 @@ the javascript only populates fields when they are empty. {%- assign arxiv = page.arxiv -%} {%- comment -%} The person's username on arXiv {%- endcomment -%} {%- assign scholar = page.scholar -%} {%- comment -%} The person's Google Scholar ID {%- endcomment -%} {%- assign honorific = page.honorific -%} {%- comment -%} A granted title to certain community members {%- endcomment -%} +{%- assign update-site = page.update-site -%} {%- comment -%} URL/Name of the update site for installation {%- endcomment -%} +{%- assign update-site-unlisted = page.update-site-unlisted -%} {%- comment -%} URL/Name of the unlisted update site for installation {%- endcomment -%} {%- comment -%} ============= FIELD ALIASES ============= {%- endcomment -%} @@ -140,6 +142,22 @@ the javascript only populates fields when they are empty. {%- endif -%} {%- endcapture -%} +{%- if update-site or update-site-unlisted -%} + {%- capture update-site-label -%} + {%- if update-site -%} Update site + {%- elsif update-site-unlisted -%} Update site (unlisted) + {%- endif -%} + {%- endcapture -%} +{%- endif -%} + +{%- if update-site or update-site-unlisted -%} + {%- capture update-site-url -%} + {%- if update-site-unlisted -%} {{update-site-unlisted}} + {%- elsif update-site -%} {{update-site}} + {%- endif -%} + {%- endcapture -%} +{%- endif -%} + {%- if autopop or source-url -%} {%- unless source-label -%} {%- capture source-label -%} @@ -244,7 +262,7 @@ https://forum.image.sc/u/{{forum}} {%- endif -%} {%- if name or affiliation or website or - autopop or project or source-label or license-url or + autopop or project or source-label or license-url or update-site or update-site-unlisted or release-url or release-date or dev-status or support-status or team or forum or forum-tag or person-developer or person-social or person-publication -%} {%- assign show-statbox = true -%} @@ -286,6 +304,7 @@ refreshComponent(); {%- if autopop or source-url or source-label -%} {%- include statbox/row id="component-source" label="Source" url=source-url value=source-label -%} {%- endif -%} {%- if autopop or license-url or license-label -%} {%- include statbox/row id="component-license" label="License" url=license-url value=license-label -%} {%- endif -%} {%- if autopop or release-url or release-version -%} {%- include statbox/row id="component-release" label="Release" url=release-url value=release-version -%} {%- endif -%} +{%- if update-site or update-site-unlisted -%} {%- include statbox/row id="component-update-site" label=update-site-label url=update-site-url value=update-site-url -%} {%- endif -%} {%- if autopop or release-date -%} {%- include statbox/row id="component-date" label="Date" value=release-date -%} {%- endif -%} {%- if autopop or dev-status -%} {%- include statbox/row id="component-dev-status" label="Development status" value=dev-status -%} {%- endif -%} {%- if autopop or support-status -%} {%- include statbox/row id="component-support-status" label="Support status" value=support-status -%} {%- endif -%} From 1a00a70ff6cf1304584f117ee449a2342ab9642a Mon Sep 17 00:00:00 2001 From: Mark Hiner Date: Thu, 22 Oct 2026 11:29:07 -0500 Subject: [PATCH 2/2] Clearly separate listed and unlisted update sites Listed update sites show name only, while unlisted are urls with links. Co-authored-by: Copilot --- _includes/layout/statbox | 23 ++++------------------- _pages/plugins/pendent-drop.md | 2 +- 2 files changed, 5 insertions(+), 20 deletions(-) diff --git a/_includes/layout/statbox b/_includes/layout/statbox index 66c288d357..35cc07ad76 100644 --- a/_includes/layout/statbox +++ b/_includes/layout/statbox @@ -73,8 +73,8 @@ the javascript only populates fields when they are empty. {%- assign arxiv = page.arxiv -%} {%- comment -%} The person's username on arXiv {%- endcomment -%} {%- assign scholar = page.scholar -%} {%- comment -%} The person's Google Scholar ID {%- endcomment -%} {%- assign honorific = page.honorific -%} {%- comment -%} A granted title to certain community members {%- endcomment -%} -{%- assign update-site = page.update-site -%} {%- comment -%} URL/Name of the update site for installation {%- endcomment -%} -{%- assign update-site-unlisted = page.update-site-unlisted -%} {%- comment -%} URL/Name of the unlisted update site for installation {%- endcomment -%} +{%- assign update-site = page.update-site -%} {%- comment -%} Common name of a listed update site for installation {%- endcomment -%} +{%- assign update-site-unlisted = page.update-site-unlisted -%} {%- comment -%} URL of an unlisted update site for installation {%- endcomment -%} {%- comment -%} ============= FIELD ALIASES ============= {%- endcomment -%} @@ -142,22 +142,6 @@ the javascript only populates fields when they are empty. {%- endif -%} {%- endcapture -%} -{%- if update-site or update-site-unlisted -%} - {%- capture update-site-label -%} - {%- if update-site -%} Update site - {%- elsif update-site-unlisted -%} Update site (unlisted) - {%- endif -%} - {%- endcapture -%} -{%- endif -%} - -{%- if update-site or update-site-unlisted -%} - {%- capture update-site-url -%} - {%- if update-site-unlisted -%} {{update-site-unlisted}} - {%- elsif update-site -%} {{update-site}} - {%- endif -%} - {%- endcapture -%} -{%- endif -%} - {%- if autopop or source-url -%} {%- unless source-label -%} {%- capture source-label -%} @@ -304,7 +288,8 @@ refreshComponent(); {%- if autopop or source-url or source-label -%} {%- include statbox/row id="component-source" label="Source" url=source-url value=source-label -%} {%- endif -%} {%- if autopop or license-url or license-label -%} {%- include statbox/row id="component-license" label="License" url=license-url value=license-label -%} {%- endif -%} {%- if autopop or release-url or release-version -%} {%- include statbox/row id="component-release" label="Release" url=release-url value=release-version -%} {%- endif -%} -{%- if update-site or update-site-unlisted -%} {%- include statbox/row id="component-update-site" label=update-site-label url=update-site-url value=update-site-url -%} {%- endif -%} +{%- if update-site -%} {%- include statbox/row id="component-update-site" label="Update site" value=update-site -%} {%- endif -%} +{%- if update-site-unlisted -%} {%- include statbox/row id="component-update-site-unlisted" label="Update site (unlisted)" url=update-site-unlisted value=update-site-unlisted -%} {%- endif -%} {%- if autopop or release-date -%} {%- include statbox/row id="component-date" label="Date" value=release-date -%} {%- endif -%} {%- if autopop or dev-status -%} {%- include statbox/row id="component-dev-status" label="Development status" value=dev-status -%} {%- endif -%} {%- if autopop or support-status -%} {%- include statbox/row id="component-support-status" label="Support status" value=support-status -%} {%- endif -%} diff --git a/_pages/plugins/pendent-drop.md b/_pages/plugins/pendent-drop.md index ca33afba7b..618b113d71 100644 --- a/_pages/plugins/pendent-drop.md +++ b/_pages/plugins/pendent-drop.md @@ -7,7 +7,7 @@ categories: [Uncategorized] release-date: "version 2 (September 20, 2015)" initial-release-date: "September 28, 2010" dev-status: "stable, active" -update-site: "https://sites.imagej.net/Daerr/" +update-site-unlisted: "https://sites.imagej.net/Daerr/" team-founder: 'Adrian Daerr | http://www.msc.univ-paris-diderot.fr/~daerr/' team-maintainer: 'Adrian Daerr | http://www.msc.univ-paris-diderot.fr/~daerr/' ---