From 1528d1ba5654a17f5476581e845f0412dc6b8c10 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniele=20Vigan=C3=B2?= Date: Sun, 17 Jul 2022 20:46:00 +0200 Subject: [PATCH] Make card title a stretched link --- ram/portal/templates/base.html | 5 ++++- ram/portal/templates/companies.html | 4 +++- ram/portal/templates/consist.html | 5 ++++- ram/portal/templates/consists.html | 5 ++++- 4 files changed, 15 insertions(+), 4 deletions(-) diff --git a/ram/portal/templates/base.html b/ram/portal/templates/base.html index 17470d6..cd660f5 100644 --- a/ram/portal/templates/base.html +++ b/ram/portal/templates/base.html @@ -88,7 +88,10 @@ {% if i.is_thumbnail %}Card image cap{% endif %} {% endfor %}
-

{{ r }}

+

+ {{ r }} + +

{% if r.tags.all %}

Tags: {% for t in r.tags.all %} diff --git a/ram/portal/templates/companies.html b/ram/portal/templates/companies.html index 73741ee..d9c5da4 100644 --- a/ram/portal/templates/companies.html +++ b/ram/portal/templates/companies.html @@ -9,7 +9,9 @@