From 6526d80b8d46ed86bb283e7d5931c23707ec0c39 Mon Sep 17 00:00:00 2001
From: Thomas Fradet <t.fradet8@gmail.com>
Date: Wed, 29 May 2019 14:05:48 +0200
Subject: [PATCH] block css

---
 CHANGELOG.md             | 2 ++
 block_career.php         | 2 +-
 lang/en/block_career.php | 2 +-
 lang/fr/block_career.php | 2 +-
 4 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index 8ff5f5e..0b0f82b 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 72a6696..95e0985 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 966824d..20d5ecd 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 4ac058c..b7c93cc 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
-- 
GitLab