From f9af3e33b833b12815fb2489a6857a450a3b006a Mon Sep 17 00:00:00 2001 From: Kevin Veen-Birkenbach Date: Wed, 8 Jan 2025 20:17:32 +0100 Subject: [PATCH] Added tooltipps --- app/config.json | 1 + app/templates/moduls/card.html.j2 | 6 +++++- app/templates/moduls/navigation.html.j2 | 10 +++++----- 3 files changed, 11 insertions(+), 6 deletions(-) diff --git a/app/config.json b/app/config.json index a9cb148..debfb95 100644 --- a/app/config.json +++ b/app/config.json @@ -130,6 +130,7 @@ }, {"name": "Code", "icon_class": "fa-solid fa-laptop-code", + "description": "Check out my Code", "subitems": [ { "name": "Github", diff --git a/app/templates/moduls/card.html.j2 b/app/templates/moduls/card.html.j2 index 41590e9..a5bc24a 100644 --- a/app/templates/moduls/card.html.j2 +++ b/app/templates/moduls/card.html.j2 @@ -7,7 +7,11 @@

{{ card.title }}

{{ card.text }}

- {{ card.link_text }} + {% if card.link %} + {{ card.link_text }} + {% else %} + {{ card.link_text }} + {% endif %} \ No newline at end of file diff --git a/app/templates/moduls/navigation.html.j2 b/app/templates/moduls/navigation.html.j2 index c364b4c..af5d19b 100644 --- a/app/templates/moduls/navigation.html.j2 +++ b/app/templates/moduls/navigation.html.j2 @@ -3,7 +3,7 @@ {% for subitem in subitems %} {% if subitems.subitems %}