aboutsummaryrefslogtreecommitdiffstats
path: root/python/fatcat_web/templates/entity_base.html
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2019-06-13 16:05:58 -0700
committerBryan Newbold <bnewbold@robocracy.org>2019-06-13 16:05:58 -0700
commitf1abe85e8c35a23122f65b47dd55d8135239cf93 (patch)
tree972e093a381ed4d9dd62f389c4d716c06f4fd993 /python/fatcat_web/templates/entity_base.html
parent234c4b2091f9a40fbfdcea1017aba575a31f22b2 (diff)
downloadfatcat-f1abe85e8c35a23122f65b47dd55d8135239cf93.tar.gz
fatcat-f1abe85e8c35a23122f65b47dd55d8135239cf93.zip
fixes after rebase
Diffstat (limited to 'python/fatcat_web/templates/entity_base.html')
-rw-r--r--python/fatcat_web/templates/entity_base.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/python/fatcat_web/templates/entity_base.html b/python/fatcat_web/templates/entity_base.html
index 72a3b6ce..0768f5a9 100644
--- a/python/fatcat_web/templates/entity_base.html
+++ b/python/fatcat_web/templates/entity_base.html
@@ -22,15 +22,15 @@
</h1>
{% if entity_type == "release" %}
<p style="font-size: larger;">
- {% if authors and authors != [] %} by
- {% for contrib in authors[:12] %}
+ {% if entity._authors and entity._authors != [] %} by
+ {% for contrib in entity._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>
+ {% if entity._authors|count > 12 %} <b>(+{{ entity._authors|length - 12 }} others)</b>
{% endif %}
<br>
{% endif %}
@@ -39,7 +39,7 @@
<div class="ui small tabular compact menu">
{{ entity_tab("overview", "Overview", "") }}
{% if entity_type == "release" %}
- {{ entity_tab("contribs", "Authors", "/contribs", authors|count ) }}
+ {{ entity_tab("contribs", "Authors", "/contribs", entity._authors|count ) }}
{{ entity_tab("references", "References", "/references", entity.refs|count) }}
{% endif %}
{{ entity_tab("metadata", "Metadata", "/metadata") }}