+ permissionControl('users', $this->getUrl(2))): ?>
+
+ getUrl(2), [
+ 'href' => helper::baseUrl() . 'course/users/' . $this->getUrl(2),
+ 'value' => 'Participants',
+ 'ico' => 'users'
+ ]); ?>
+
+
+ permissionControl('edit', $this->getUrl(2))): ?>
+
+ getUrl(2), [
'href' => helper::baseUrl() . 'course/edit/' . $this->getUrl(2),
'value' => 'Éditer',
'ico' => 'pencil'
]); ?>
-
-
- getUrl(2), [
- 'href' => helper::baseUrl() . 'course/clone/' . $this->getUrl(2),
- 'value' => 'Cloner',
- 'ico' => 'clone'
- ]); ?>
-
-
- getUrl(2), [
+
+
+ permissionControl('backup', $this->getUrl(2))): ?>
+
+ getUrl(2), [
'href' => helper::baseUrl() . 'course/backup/' . $this->getUrl(2),
'value' => 'Sauvegarder',
'ico' => 'download-cloud'
]); ?>
-
-
- getUrl(2), [
+
+
+ permissionControl('clone', $this->getUrl(2))): ?>
+
+ getUrl(2), [
+ 'href' => helper::baseUrl() . 'course/clone/' . $this->getUrl(2),
+ 'value' => 'Cloner',
+ 'ico' => 'clone'
+ ]); ?>
+
+
+ permissionControl('delete', $this->getUrl(2))): ?>
+
+ getUrl(2), [
'class' => 'courseDelete buttonRed',
'href' => helper::baseUrl() . 'course/delete/' . $this->getUrl(2),
'value' => 'Supprimer',
'ico' => 'trash'
]); ?>
-
+