From 2404402602d854a7352c8cebfaf6fb85b4d04e17 Mon Sep 17 00:00:00 2001 From: Patrick Forringer Date: Tue, 12 Mar 2019 01:29:35 -0500 Subject: [PATCH] Adjust tool card content meta size on homepage --- toolhub/templates/home.jinja | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/toolhub/templates/home.jinja b/toolhub/templates/home.jinja index 2c40f8d..2e1830e 100644 --- a/toolhub/templates/home.jinja +++ b/toolhub/templates/home.jinja @@ -24,7 +24,9 @@

{{ _("Borrowed Tools") }}

{% for tool in borrowed_tools[:SHORT_PAGINATE_BY] %} {% call tool_details_card(tool, user, ['mb-4']) %} -

owner: {{ object_link(tool.user, "profile-link") }}

+

+ owner: {{ object_link(tool.user, "profile-link") }} +

{{ return_button(tool) }} {% endcall %} {% else %} @@ -40,7 +42,11 @@

{{ _("Recently Added Tools") }}

{% for tool in new_tools[:SHORT_PAGINATE_BY] %} {% call tool_details_card(tool, user, ['mb-4']) %} -

owner: {{ object_link(tool.user, "profile-link") }}

+

+ owner: {{ object_link(tool.user, "profile-link") }} +
+ added: {{ tool.created|date("SHORT_DATETIME_FORMAT") }} +

{% endcall %} {% else %}