From 854215ca565872f19c2e278752d1049d9e5e18be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Stan=C4=9Bk?= Date: Wed, 22 Feb 2017 12:42:15 +0100 Subject: [PATCH] uprava hlasek pri zapisovani programu --- app/WebModule/components/templates/programs_content.latte | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/WebModule/components/templates/programs_content.latte b/app/WebModule/components/templates/programs_content.latte index e34b26d1c..0880dbd3e 100644 --- a/app/WebModule/components/templates/programs_content.latte +++ b/app/WebModule/components/templates/programs_content.latte @@ -28,13 +28,13 @@ {_web.programs_content.login_required_link}{_web.programs_content.login_required_end} {else} - {if !$registerProgramsAllowed} + {if !$userHasPermission}
- {_web.programs_content.register_programs_not_allowed} + {_web.programs_content.unapproved_register_programs}
- {elseif !$userHasPermission} + {elseif !$registerProgramsAllowed}
- {_web.programs_content.unapproved_register_programs} + {_web.programs_content.register_programs_not_allowed}
{elseif $userNotPaid}