diff --git a/templates/index.html.ep b/templates/index.html.ep index 7051ee0515f03ff58c2191b7be11d00e8849d7d8..08f3b8be58d76086045183f4137401fbdf5a4f3f 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> % }