diff --git a/tpl/part/vote_table_classic.tpl b/tpl/part/vote_table_classic.tpl
index 62d94e2..fd07e1d 100644
--- a/tpl/part/vote_table_classic.tpl
+++ b/tpl/part/vote_table_classic.tpl
@@ -101,7 +101,13 @@
{$vote->name|html}
- {if $slots gt 4}
+ {if $active && !$expired && $accessGranted &&
+ (
+ $poll->editable == constant('Framadate\Editable::EDITABLE_BY_ALL')
+ or $admin
+ or ($poll->editable == constant('Framadate\Editable::EDITABLE_BY_OWN') && $editedVoteUniqueId == $vote->uniqId)
+ ) && $slots gt 4
+ }
{__('Generic', 'Edit')}
@@ -168,7 +174,7 @@
{foreach $slots as $id=>$slot}
|
|