From 2b25d8c301974843d1677e58f34476987e82187e Mon Sep 17 00:00:00 2001 From: Erwan TERTRAIS Date: Mon, 11 Dec 2017 11:32:45 +0100 Subject: [PATCH] edit button if slot >7 --- tpl/part/vote_table_date.tpl | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/tpl/part/vote_table_date.tpl b/tpl/part/vote_table_date.tpl index 957d794..9688163 100644 --- a/tpl/part/vote_table_date.tpl +++ b/tpl/part/vote_table_date.tpl @@ -152,12 +152,13 @@ {* Voted line *} {$vote->name|html} + {if $slots gt 7} - - {__('Generic', 'Edit')} - + + {__('Generic', 'Edit')} + - + {/if}