From cb3d10a06c0166c4eb8ec2d48852e4bfc236ef27 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Tue, 27 Jul 2021 17:01:29 -0700 Subject: refs: support for wikipedia outbound refs, and display in tables --- .../templates/wikipedia_view_fuzzy_refs.html | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 python/fatcat_web/templates/wikipedia_view_fuzzy_refs.html (limited to 'python/fatcat_web/templates/wikipedia_view_fuzzy_refs.html') diff --git a/python/fatcat_web/templates/wikipedia_view_fuzzy_refs.html b/python/fatcat_web/templates/wikipedia_view_fuzzy_refs.html new file mode 100644 index 00000000..5b53d692 --- /dev/null +++ b/python/fatcat_web/templates/wikipedia_view_fuzzy_refs.html @@ -0,0 +1,27 @@ +{% extends "base.html" %} +{% import "refs_macros.html" as refs_macros %} + +{% block title %}Wikipedia Refs{% endblock %} + +{% block fullbody %} +

+ [{{ wiki_lang }}] {{ wiki_article }} + {{ wiki_url }} +

+ +{% if direction == "in" %} +

Cited By

+

This page lists references to a wikipedia article, from other works (eg, journal articles). +{% elif direction == "out" %} +

References

+ Refernces from wikipedia article to other entities. +{% endif %} + +{% if hits.result_refs %} + {{ refs_macros.refs_table(hits, direction) }} +{% else %} +

None found +{% endif %} + +{% endblock %} + -- cgit v1.2.3