summaryrefslogtreecommitdiffstats
path: root/python/fatcat_web
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2019-02-12 13:07:05 -0800
committerBryan Newbold <bnewbold@robocracy.org>2019-02-12 13:07:05 -0800
commitc9d9748cfa62682748d158ac47f6862415ecab94 (patch)
tree6dac2c83f991acb62e8efaad252a35c364ef20ce /python/fatcat_web
parent2233403d8867ee88478479edb59b433b1075b4e9 (diff)
downloadfatcat-c9d9748cfa62682748d158ac47f6862415ecab94.tar.gz
fatcat-c9d9748cfa62682748d158ac47f6862415ecab94.zip
search results: file_pdf_url -> best_pdf_url
Diffstat (limited to 'python/fatcat_web')
-rw-r--r--python/fatcat_web/templates/release_search.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/fatcat_web/templates/release_search.html b/python/fatcat_web/templates/release_search.html
index 108d4f87..961bf54f 100644
--- a/python/fatcat_web/templates/release_search.html
+++ b/python/fatcat_web/templates/release_search.html
@@ -23,8 +23,8 @@
{% for paper in found.results %}
<div>
<h4 style="margin-top: 1em; margin-bottom: 4px; font-size: 1.1em;"><a href="/release/{{ paper.ident }}" style="color: #2224c7;">{{ paper['title'] }}</a>
- {% if paper.file_pdf_url %}
- &nbsp;&nbsp;<a href="{{ paper.file_pdf_url }}" class="ui label small"><i class="file icon"></i>fulltext</a>
+ {% if paper.best_pdf_url %}
+ &nbsp;&nbsp;<a href="{{ paper.best_pdf_url }}" class="ui label small"><i class="file icon"></i>fulltext</a>
{% endif %}
</h4>
<h5 style="margin-top: 4px; margin-bottom: 4px; font-size: 1em;">{{ ", ".join(paper.contrib_names) }}</h5>