aboutsummaryrefslogtreecommitdiffstats
path: root/python/fatcat_web/templates/release_view_fuzzy_refs.html
diff options
context:
space:
mode:
Diffstat (limited to 'python/fatcat_web/templates/release_view_fuzzy_refs.html')
-rw-r--r--python/fatcat_web/templates/release_view_fuzzy_refs.html12
1 files changed, 7 insertions, 5 deletions
diff --git a/python/fatcat_web/templates/release_view_fuzzy_refs.html b/python/fatcat_web/templates/release_view_fuzzy_refs.html
index ffca0bc9..8cba4f4e 100644
--- a/python/fatcat_web/templates/release_view_fuzzy_refs.html
+++ b/python/fatcat_web/templates/release_view_fuzzy_refs.html
@@ -13,13 +13,15 @@
{% elif direction == "out" %}
<h3>References</h3>
<i>NOTE: currently batch computed and may include additional references sources, or be missing recent changes, compared to entity reference list.</i>
-{% endif %}
-{% if hits.result_refs %}
- {{ refs_macros.refs_table(hits, direction) }}
-{% else %}
- <br><br><p><b>None found</b>
+ {% if hits.count_total == 0 and release.refs %}
+ <div class="ui positive message">
+ <p>No <i>fuzzy</i> references found, but there are <a href="/release/{{ release.ident }}/references">{{ release.refs|count }} legacy references</a>
+ </div>
+ {% endif %}
{% endif %}
+{{ refs_macros.refs_table(hits, direction) }}
+
{% endblock %}