aboutsummaryrefslogtreecommitdiffstats
path: root/python/fatcat_web/templates/entity_macros.html
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2022-02-11 11:14:07 -0800
committerBryan Newbold <bnewbold@robocracy.org>2022-02-11 11:14:07 -0800
commit9b9ede257753b1e3fd19bbf90a5895de5db18504 (patch)
treee14f834cbc0483f25cbf89e0ee771deeec0d0255 /python/fatcat_web/templates/entity_macros.html
parentebd467fba4773a6dd027ca118124e4c6f80a7e07 (diff)
downloadfatcat-9b9ede257753b1e3fd19bbf90a5895de5db18504.tar.gz
fatcat-9b9ede257753b1e3fd19bbf90a5895de5db18504.zip
containers: progress on browse interface
Diffstat (limited to 'python/fatcat_web/templates/entity_macros.html')
-rw-r--r--python/fatcat_web/templates/entity_macros.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/fatcat_web/templates/entity_macros.html b/python/fatcat_web/templates/entity_macros.html
index 6ad63a14..163af3e0 100644
--- a/python/fatcat_web/templates/entity_macros.html
+++ b/python/fatcat_web/templates/entity_macros.html
@@ -142,9 +142,9 @@
</form>
{%- endmacro %}
-{% macro release_search_result_row(paper) -%}
+{% macro release_search_result_row(paper, margin_top=True) -%}
<div>
- <h4 style="margin-top: 1em; margin-bottom: 0px; font-size: 1.1em;">
+ <h4 style="{% if margin_top %}margin-top: 1em; {% endif %}margin-bottom: 0px; font-size: 1.1em;">
<a href="/release/{{ paper.ident }}" style="color: #2224c7;">
{% if paper.title %}
{{ paper.title[:512] }}