diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2022-02-11 11:14:07 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2022-02-11 11:14:07 -0800 |
commit | 9b9ede257753b1e3fd19bbf90a5895de5db18504 (patch) | |
tree | e14f834cbc0483f25cbf89e0ee771deeec0d0255 /python/fatcat_web/templates/entity_macros.html | |
parent | ebd467fba4773a6dd027ca118124e4c6f80a7e07 (diff) | |
download | fatcat-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.html | 4 |
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] }} |