Skip to content
Snippets Groups Projects
Commit 1a7a3e3d authored by DELARUELLE Myriam's avatar DELARUELLE Myriam
Browse files

fix css + plugin name

parent 40e9acb0
No related merge requests found
......@@ -24,7 +24,7 @@
defined('MOODLE_INTERNAL') || die();
$string['pluginname'] = 'Blended learning format';
$string['pluginname'] = 'Course format with advanced activity tracking';
$string['currentsection'] = 'The section';
$string['editsection'] = 'Edit section';
$string['deletesection'] = 'Delete section';
......
......@@ -24,7 +24,7 @@
defined('MOODLE_INTERNAL') || die();
$string['pluginname'] = 'Format enseignement hybride';
$string['pluginname'] = 'Format de cours avec suivi avancé des activités';
$string['currentsection'] = 'La section';
$string['editsection'] = 'Modifier section';
$string['deletesection'] = 'Supprimer section';
......
......@@ -705,15 +705,15 @@ th.th-rotate {
th.th-rotate > div {
transform:
/* Magic Numbers */
translate(18px, 53px)
/*translate(18px, 53px)*/
translate(18px, 74px)
/* 45 is really 360 - 45 */
rotate(315deg);
width: 30px;
}
th.th-rotate > div > span {
border-bottom: 1px solid #ccc;
padding: 5px 10px;
padding-bottom: 2px;
padding: 0px 3px;
width: 180px;
display: block;
......@@ -748,7 +748,7 @@ th.th-rotate > div > span {
.state-1 span.icon-progress::after{
content: "\f1db";
content: "\f10c";
font-family: FontAwesome; width: 100%; display: inline-block;text-align: center;
color: white;
font-size: 130%;
......@@ -767,7 +767,7 @@ th.th-rotate > div > span {
}
.state-3 span.icon-progress::after{
content: "\f1db";
content: "\f05c";
font-family: FontAwesome; width: 100%; display: inline-block; text-align: center;
color: white;
font-size: 130%;
......@@ -799,6 +799,7 @@ th.th-rotate > div > span {
.stud_perc {
min-width: 45px;
display: inline-block;
text-align: right;
}
#table-body td {
......
......@@ -142,7 +142,7 @@ function get_activities($completion, $activesectionid) {
$module->id = $activity->id;
$module->name = $activity->name;
$displayname = format_string($activity->name, true, array('context' => $activity->context));
$module->displayname = strlen($displayname) > 20 ? mb_substr($displayname, 0, 19, 'UTF-8').'…' : $displayname;
$module->displayname = strlen($displayname) > 30 ? mb_substr($displayname, 0, 29, 'UTF-8').'…' : $displayname;
$module->section = $activity->section;
$modules[] = $module;
if ($activity->section == $activesectionid || $activesectionid == 0 ) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment