From d0ca0f9d70858218c5fc5625ca08c349ec06121c Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Tue, 27 Jul 2021 17:01:58 -0700 Subject: refs: show up to 8 authors in summary tables --- python/fatcat_web/templates/entity_macros.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/python/fatcat_web/templates/entity_macros.html b/python/fatcat_web/templates/entity_macros.html index ac2b5a15..37bb2d90 100644 --- a/python/fatcat_web/templates/entity_macros.html +++ b/python/fatcat_web/templates/entity_macros.html @@ -395,7 +395,7 @@ yellow [{{ release.release_type or "unknown-type" }}] {% endif %} {% if release.contribs %}
{% endif %} - {% for contrib in release.contribs[:5] %} + {% for contrib in release.contribs[:8] %} {% if contrib.creator %} {{ contrib.creator.display_name }} {% else %} @@ -403,7 +403,7 @@ yellow {%- endif %} {%- if not loop.last %}, {% endif %} {% endfor %} - {% if release.contribs | length > 5 %} (+ more) {%endif %} + {% if release.contribs | length > 8 %} (+ more) {%endif %} {% if release.release_year or release.container or (release.extra and release.extra.container_name) %}
{% endif %} {% if release.release_year %}{{ release.release_year }}  {% endif %} {% if release.container %} @@ -449,12 +449,12 @@ yellow {{ csl.title }} {% if csl.title and csl.author %}
{% endif %} {% if csl.author %} - {% for author in csl.author[:5] %} + {% for author in csl.author[:8] %} {# TODO: other name variants? #} {{ author.name }} {%- if not loop.last %}, {% endif %} {% endfor %} - {% if csl.author | length > 5 %} (+ more) {%endif %} + {% if csl.author | length > 8 %} (+ more) {%endif %} {% endif %} {% if csl.issued or csl["container-title"] %}
{% endif %} -- cgit v1.2.3