diff --git a/CHANGELOG.md b/CHANGELOG.md index 781fdbaaa2e12c8d1809afa9675d4d37fa3e3e8d..aec5f938bdca4308ad166214161a66d080437c6c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -92,6 +92,8 @@ Ajout de vérification du droit d'éditer le cours pour les interfaces d'éditio Sous forme de liste cliquable. +Ajout d'une apparence de lien sur le titre de la ressource. + #### Textes Amélioration des textes sur les pages de liste et d'édition des parcours. diff --git a/styles.css b/styles.css index 8f585f858760144bd0e4f290ac0f824c4c4d3405..4b64581906290d81b60254ea5a048b4c86c3bfaf 100644 --- a/styles.css +++ b/styles.css @@ -58,6 +58,15 @@ display: initial; } +.career-module-header { + margin-bottom: 0; + color: #008196; +} + +.career-module-item:hover .career-module-header { + text-decoration: underline; +} + /* Block itself */ .career-list-group .list-group-item { diff --git a/view/view_career_unit.php b/view/view_career_unit.php index ac7a244c3fdcc93e01e504d307cce9e231a6cd09..c3d2a9b197075613ee6637bbab0cad9b418994d0 100644 --- a/view/view_career_unit.php +++ b/view/view_career_unit.php @@ -92,9 +92,9 @@ function is_not_empty_string($str) { <div class="list-group" style="margin-top: 1rem;"> <?php foreach ($ressources as $value) : ?> <?php if($value->section->id == $section->id) : ?> - <a href="<?php echo "$value->link&career=$careerId" ?>" class="list-group-item list-group-item-action flex-column align-items-start"> + <a href="<?php echo "$value->link&career=$careerId" ?>" class="list-group-item list-group-item-action flex-column align-items-start career-module-item"> <div class="d-flex w-100 justify-content-between"> - <h5 style="margin-bottom: 0;"> + <h5 class="career-module-header"> <?php echo $value->name;?> </h5> <img class="" alt="" src="<?php echo $CFG->wwwroot ?>/theme/image.php/boost/<?php echo $value->type ?>/1/icon>">