aboutsummaryrefslogtreecommitdiffstats
path: root/python/fatcat_web/templates/entity_base.html
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2021-04-15 23:48:06 -0700
committerBryan Newbold <bnewbold@robocracy.org>2021-07-23 10:55:09 -0700
commit570074b514259bf6345c376faea8128f279bd0b4 (patch)
treea57b73747cb89c79f3cba6fec1183ff6cf95b0eb /python/fatcat_web/templates/entity_base.html
parent314aba35d06eb80be0c5ffc068774bb9bca38e76 (diff)
downloadfatcat-570074b514259bf6345c376faea8128f279bd0b4.tar.gz
fatcat-570074b514259bf6345c376faea8128f279bd0b4.zip
web: inbound/outbound refs as links (temporarily); change URL names
Diffstat (limited to 'python/fatcat_web/templates/entity_base.html')
-rw-r--r--python/fatcat_web/templates/entity_base.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/python/fatcat_web/templates/entity_base.html b/python/fatcat_web/templates/entity_base.html
index 36280f5d..c23dbef2 100644
--- a/python/fatcat_web/templates/entity_base.html
+++ b/python/fatcat_web/templates/entity_base.html
@@ -86,6 +86,10 @@
{% elif entity_type == "release" and entity.state != 'deleted' %}
{{ entity_tab("contribs", "Authors", "/contribs", entity._authors|count ) }}
{{ entity_tab("references", "References", "/references", entity.refs|count) }}
+ {% if entity.state == 'active' %}
+ {{ entity_tab("inbound-refs", "Inbound", "/inbound-refs") }}
+ {{ entity_tab("outbound-refs", "Outbound", "/outbound-refs") }}
+ {% endif %}
{% endif %}
{{ entity_tab("metadata", "Metadata", "/metadata") }}
</div>