summaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2018-10-03 14:28:03 -0700
committerBryan Newbold <bnewbold@robocracy.org>2019-02-01 23:14:36 -0800
commit4c76c36690f384e3b51530ed29ad9a53c9510abe (patch)
tree551e75bcdb8fb84fe905bdb7d8f5875a42b37188 /python
parent7463049b621f7729b48c5e06429767118c1b8506 (diff)
downloadfatcat-4c76c36690f384e3b51530ed29ad9a53c9510abe.tar.gz
fatcat-4c76c36690f384e3b51530ed29ad9a53c9510abe.zip
direct link to release (not DOI lookup)
cherry-picked from preview branch. Should probably be a feature flag or environment dependent.
Diffstat (limited to 'python')
-rw-r--r--python/fatcat_web/templates/release_search.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/fatcat_web/templates/release_search.html b/python/fatcat_web/templates/release_search.html
index c6a6df60..108d4f87 100644
--- a/python/fatcat_web/templates/release_search.html
+++ b/python/fatcat_web/templates/release_search.html
@@ -22,7 +22,7 @@
<i>Showing top {{ found.count_returned }} out of {{ found.count_found }} results for: <code>{{ found.query.q }}</code></i>
{% for paper in found.results %}
<div>
- <h4 style="margin-top: 1em; margin-bottom: 4px; font-size: 1.1em;"><a href="/release/lookup?doi={{ paper.doi }}" style="color: #2224c7;">{{ paper['title'] }}</a>
+ <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>
{% endif %}