summaryrefslogtreecommitdiffstats
path: root/python/fatcat_web
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2021-07-27 19:21:49 -0700
committerBryan Newbold <bnewbold@robocracy.org>2021-07-27 19:21:49 -0700
commited56037d929d50abab707ee5eb9f583789a8ac7a (patch)
tree32836a0a0e4c7143993b0fa3852472fc39f54561 /python/fatcat_web
parent16ce0cd302b954260ccc255ca486d426b79c6b99 (diff)
downloadfatcat-ed56037d929d50abab707ee5eb9f583789a8ac7a.tar.gz
fatcat-ed56037d929d50abab707ee5eb9f583789a8ac7a.zip
refs: fix typo preventing CSL from rendering in refs output
Diffstat (limited to 'python/fatcat_web')
-rw-r--r--python/fatcat_web/templates/refs_macros.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/fatcat_web/templates/refs_macros.html b/python/fatcat_web/templates/refs_macros.html
index 8b6a5dc3..3095ce54 100644
--- a/python/fatcat_web/templates/refs_macros.html
+++ b/python/fatcat_web/templates/refs_macros.html
@@ -81,7 +81,7 @@
<a href="https://openlibrary.org/{{ row.ref.target_openlibrary_work }}" style="color:green;">openlibrary:{{ row.ref.target_openlibrary_work }}</a>&nbsp;
<a href="/openlibrary/{{ row.ref.target_openlibrary_work}}/refs-in" style="color:green;">[cited-by]</a>&nbsp;
{% endif %}
- {% elif direction == "in" and row.ref.target_csl %}
+ {% elif direction == "out" and row.ref.target_csl %}
{{ entity_macros.csl_summary(row.ref.target_csl) }}
{% else %}
<i>blank</i>