diff --git a/tpl/part/vote_table_classic.tpl b/tpl/part/vote_table_classic.tpl index a9c0507..7c83e24 100644 --- a/tpl/part/vote_table_classic.tpl +++ b/tpl/part/vote_table_classic.tpl @@ -51,7 +51,7 @@ - {$id=0} {* #51 : Parcoure les slots/moments pour y inclure les nouveaux items sans vote } + {$id=0} {foreach $slots as $slot} {foreach $slot->moments as $moment} {$choice=$vote->choices[$id]} @@ -77,7 +77,7 @@ {__('Generic', 'No')} -
  • {* #51 : default value for unselected vote *} +
  • @@ -94,7 +94,7 @@ {$vote->name|html} - {$id=0} {* #51 : Parcoure les slots/moments pour y inclure les nouveaux items sans vote } + {$id=0} {foreach $slots as $slot} {foreach $slot->moments as $moment} {$choice=$vote->choices[$id]} @@ -105,8 +105,8 @@ (){__('Generic', 'Ifneedbe')} {elseif $choice=='0'} {__('Generic', 'No')} - {else} {* #51 : default value for unselected vote (new dates) *} - ?{__('Generic', 'Unknown')} + {else} + ?{__('Generic', 'Unknown')} {/if} {$id=$id + 1} @@ -171,7 +171,7 @@ {__('Generic', 'No')} -
  • {* #51 : default value for unselected vote *} +
  • diff --git a/tpl/part/vote_table_date.tpl b/tpl/part/vote_table_date.tpl index 0ef9f64..4b44b0e 100644 --- a/tpl/part/vote_table_date.tpl +++ b/tpl/part/vote_table_date.tpl @@ -99,7 +99,7 @@ - {$k=0} {* #51 : Parcoure les slots/moments pour y inclure les nouveaux items sans vote } + {$k=0} {foreach $slots as $slot} {foreach $slot->moments as $moment} {$choice=$vote->choices[$k]} @@ -125,7 +125,7 @@ {__('Generic', 'No')} -
  • {* #51 : default value for unselected vote *} +
  • @@ -145,7 +145,7 @@ {$vote->name|html} - {$k=0} {* #51 : Parcoure les slots/moments pour y inclure les nouveaux items sans vote } + {$k=0} {foreach $slots as $slot} {foreach $slot->moments as $moment} {$choice=$vote->choices[$k]} @@ -156,8 +156,8 @@ (){__('Generic', 'Ifneedbe')} {elseif $choice=='0'} {__('Generic', 'No')} - {else} {* #51 : default value for unselected vote (new dates) *} - ?{__('Generic', 'Unknown')} + {else} + ?{__('Generic', 'Unknown')} {/if} {$k=$k + 1} @@ -223,7 +223,7 @@ {__('Generic', 'No')} -
  • {* #51 : default value for unselected vote *} +