summaryrefslogtreecommitdiffstats
path: root/python/fatcat_web/templates/release_view.html
diff options
context:
space:
mode:
Diffstat (limited to 'python/fatcat_web/templates/release_view.html')
-rw-r--r--python/fatcat_web/templates/release_view.html6
1 files changed, 4 insertions, 2 deletions
diff --git a/python/fatcat_web/templates/release_view.html b/python/fatcat_web/templates/release_view.html
index 37d541ba..b2ee524f 100644
--- a/python/fatcat_web/templates/release_view.html
+++ b/python/fatcat_web/templates/release_view.html
@@ -11,13 +11,15 @@
<div class="sub header"><code>release {{ release.ident }}</code></div></h1>
<p style="font-size: larger;">
{% if authors != [] %} by {% endif %}
- {% for contrib in authors %}
+ {% for contrib in authors[:12] %}
{% if contrib.creator_id %}
<b><a href="/creator/{{contrib.creator_id}}">{{ contrib.raw_name }}</a></b>{% if not loop.last %}, {% endif %}
{% else %}
{% if contrib.raw_name != None %}{{ contrib.raw_name }}{% else %}<i>Unknown</i>{% endif %}{% if not loop.last %}, {% endif %}
{% endif %}
{% endfor %}
+ {% if authors|count > 12 %} <b>(+{{ authors|length - 12 }} others)</b>
+ {% endif %}
</div>
</div>
@@ -85,7 +87,7 @@
{% if release.contribs|length > 0 %}
<div class="ui accordion">
<div class="title">
- <i class="dropdown icon"></i>All Contributors
+ <i class="dropdown icon"></i>All Contributors ({{ release.contribs|length }})
</div><div class="content">
<table class="ui basic compact table">
<tbody>