diff --git a/CHANGELOG.md b/CHANGELOG.md index 8ff5f5e6ae8cf829f6e85c9216ed92bc9a876f6d..0b0f82b5afc6ae07220d3b9d3311befb02eaeef1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -112,6 +112,8 @@ Ajout de coches sexy, crédit : https://jalokim.graphics/playground/fancy-checkb Amélioration de l'apparence de la liste dans le bloc et fusion des boutons avec cette liste (en couleur). +Amélioration de l'apprence du message si pas de parcours encore existants. + ### Place du block Suppression du titre de section de paramètre inutile dans le fichier `edit_form.php`. diff --git a/block_career.php b/block_career.php index 72a669672ae796795d6cc0acd636f09ab9c24a61..95e098501e974549d7d3b716c71af3431a1cf363 100644 --- a/block_career.php +++ b/block_career.php @@ -97,7 +97,7 @@ class block_career extends block_base $this->content->text .= '</div>'; if (empty($request)) { - $this->content->text .= "<p>" . get_string('any_carrer', 'block_career') . "</p>"; + $this->content->text .= "<p class='alert alert-secondary m-t-1'>" . get_string('any_carrer', 'block_career') . "</p>"; } // $this->content->text .= "<p></p>"; diff --git a/lang/en/block_career.php b/lang/en/block_career.php index 966824d6af2485527348e586250174feb94502ae..20d5ecddd3f1e2bda33052a5655837e29eeddb02 100644 --- a/lang/en/block_career.php +++ b/lang/en/block_career.php @@ -14,6 +14,6 @@ $string['titleaddelemdesc_plugin'] = 'Select course ressources and activities you want in your path.'; $string['heading_plugin'] = 'You can create a Path to group activities and ressources appart from the other inside a learning path. '; $string['add_path'] = 'Add a path'; - $string['any_carrer'] = 'No Path in this course'; + $string['any_carrer'] = 'No Path in this course.'; $string['list_title'] = 'Edit path list'; ?> \ No newline at end of file diff --git a/lang/fr/block_career.php b/lang/fr/block_career.php index 4ac058c9747b91f09e649aca1ccf50f3fada695a..b7c93cce0444763b72f283e085650f68e41b2f8b 100644 --- a/lang/fr/block_career.php +++ b/lang/fr/block_career.php @@ -13,6 +13,6 @@ $string['titleaddelemdesc_plugin'] = 'Sélectionnez des activités et ressources du cours que vous souhaitez ajouter au parcours.'; $string['heading_plugin'] = 'Les parcours permettent de regrouper certaines ressources du cours dans un enchaînement particulier à part des autres.'; $string['add_path'] = 'Ajouter un parcours'; - $string['any_carrer'] = 'Pas de parcours'; + $string['any_carrer'] = 'Pas de parcours.'; $string['list_title'] = 'Édition des parcours'; ?> \ No newline at end of file