diff --git a/module/workshop/view/index/index.php b/module/workshop/view/index/index.php index e941e6b..271151f 100644 --- a/module/workshop/view/index/index.php +++ b/module/workshop/view/index/index.php @@ -1,7 +1,10 @@ getData(['course']) as $courseId => $courseValue): ?> - getData(['module', $this->getUrl(0), 'config', 'category'])): ?> + getData(['module', $this->getUrl(0), 'config', 'category']) !== 'all' && + $courseValue['category'] !== $this->getData(['module', $this->getUrl(0), 'config', 'category']) + ): ?> @@ -63,39 +66,43 @@

- getData(['course', $courseId, 'limitEnrolment']) === true ):?> - getData(['module', $this->getUrl(0), 'caption', 'enrolmentLimit']); ?> - getData(['course', $courseId, 'limitEnrolmentDate']), self::$i18nUI) . helper::translate(' à ') . helper::dateUTF8('%H:%M', $this->getData(['course', $courseId, 'limitEnrolmentDate']), self::$i18nUI); ?> + getData(['course', $courseId, 'limitEnrolment']) === true): ?> +

+ + getData(['module', $this->getUrl(0), 'caption', 'enrolmentLimit']); ?> + getData(['course', $courseId, 'limitEnrolmentDate']), self::$i18nUI) . helper::translate(' à ') . helper::dateUTF8('%H:%M', $this->getData(['course', $courseId, 'limitEnrolmentDate']), self::$i18nUI); ?> + +

- -
- -
- - getData(['enrolment', $courseId, $this->getUser('id')])): ?> - - - getData(['module', $this->getUrl(0), 'caption', 'unsuscribe']); ?> - - - -
+ +
+ - - getData(['module', $this->getUrl(0), 'config', 'template']) === true): ?> +
+ + getData(['enrolment', $courseId, $this->getUser('id')])): ?> + + + getData(['module', $this->getUrl(0), 'caption', 'unsuscribe']); ?> + + + +
+
+ + getData(['module', $this->getUrl(0), 'config', 'template']) === true): ?>