From 54c71ec9fb05bfa8651c6d8d17b85aff7623c246 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andrej=20Rama=C5=A1euski?= <andrej@x2.cz> Date: Tue, 2 Aug 2022 00:28:44 +0200 Subject: [PATCH] Include misto htmx --- templates/index.html.ep | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/templates/index.html.ep b/templates/index.html.ep index 7051ee0..08f3b8b 100644 --- a/templates/index.html.ep +++ b/templates/index.html.ep @@ -1,5 +1,4 @@ % layout 'default'; -% title ''; <div class="content-block"> <p> @@ -18,5 +17,9 @@ Pro použiti Pirátského zkracovače musíte se přihliásit <strong><a href="< % if ( $c->is_user_authenticated ) { <div class="content-block"> %= include 'includes/form'; + +% if ( $c->current_user->shortcuts({ deleted => undef })->count() ) { +%= include 'shortcut/list'; +% } </div> % } -- GitLab