From 210f39a845e676e162eaa73d7ca401a8d3d89bcf Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Mon, 10 Jun 2019 17:46:47 -0700 Subject: entity view tweaks --- python/fatcat_web/templates/entity_base.html | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'python/fatcat_web/templates/entity_base.html') diff --git a/python/fatcat_web/templates/entity_base.html b/python/fatcat_web/templates/entity_base.html index aa32ac3b..6b64dfdf 100644 --- a/python/fatcat_web/templates/entity_base.html +++ b/python/fatcat_web/templates/entity_base.html @@ -1,14 +1,14 @@ {% extends "base.html" %} -{% macro entity_tab(name, text, url_suffix) %} -{{ text }} +{% macro entity_tab(name, text, url_suffix, count=None) %} +{{ text }}{% if count != None %} ({{ count }}){% endif %} {% endmacro %} {% block fullmain %}
-
+

{% if entity_type == "release" %} {{ entity.title }} @@ -39,8 +39,8 @@ @@ -56,7 +56,7 @@
-
+
{% block entity_main %}{% endblock %}
-- cgit v1.2.3