summaryrefslogtreecommitdiffstats
path: root/python/fatcat_web/templates/entity_macros.html
diff options
context:
space:
mode:
Diffstat (limited to 'python/fatcat_web/templates/entity_macros.html')
-rw-r--r--python/fatcat_web/templates/entity_macros.html8
1 files 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
<b>[{{ release.release_type or "unknown-type" }}]</b>
{% endif %}
{% if release.contribs %}<br>{% endif %}
- {% for contrib in release.contribs[:5] %}
+ {% for contrib in release.contribs[:8] %}
{% if contrib.creator %}
<a href="/contib/{{ contrib.creator.ident }}" style="color: black;">{{ contrib.creator.display_name }}</a>
{% else %}
@@ -403,7 +403,7 @@ yellow
{%- endif %}
{%- if not loop.last %}, {% endif %}
{% endfor %}
- {% if release.contribs | length > 5 %} <i>(+ more)</i> {%endif %}
+ {% if release.contribs | length > 8 %} <i>(+ more)</i> {%endif %}
{% if release.release_year or release.container or (release.extra and release.extra.container_name) %}<br>{% endif %}
{% if release.release_year %}{{ release.release_year }} &nbsp;{% endif %}
{% if release.container %}
@@ -449,12 +449,12 @@ yellow
<b>{{ csl.title }}</b>
{% if csl.title and csl.author %}<br>{% 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 %} <i>(+ more)</i> {%endif %}
+ {% if csl.author | length > 8 %} <i>(+ more)</i> {%endif %}
{% endif %}
{% if csl.issued or csl["container-title"] %}<br>{% endif %}