diff --git a/template/templates/user_diary.tpl b/template/templates/user_diary.tpl index c5e4118..0cee380 100644 --- a/template/templates/user_diary.tpl +++ b/template/templates/user_diary.tpl @@ -18,6 +18,7 @@ {if $user->get_uk_balance_expire_date()} Az egyenleg lejár: {{$user->get_uk_balance_expire_date()|date_format:"%Y.%m.%d"}} {elseif $user->get_uk_last_deposit()} + Az egyenleg lejár: {{$user->get_uk_last_deposit()|date_format:"%Y.%m.%d"}} {else} Kérjük, töltse fel egyenlegét! {/if} @@ -75,9 +76,9 @@ {if $action->get_de_training()->get_tr_training_type_trt_id()}{$action->get_de_training()->get_tr_type_name_by_id()} edzés{/if} {$action->get_de_training()->get_tr_duration()} p {if $action->get_de_training()->is_coach()} - {foreach $action->get_de_training()->get_tr_coaches_name() as $coach_name} - {if $coach_name@first}({/if}{$coach_name}{if $coach_name@last}){else}, {/if} - {/foreach} + {foreach $action->get_de_training()->get_tr_coaches_name() as $coach_name} + {if $coach_name@first}({/if}{$coach_name}{if $coach_name@last}){else}, {/if} + {/foreach} {/if} {assign var="discount" value=""}