diff --git a/amd/build/suivi-table.js b/amd/build/suivi-table.js index e43d9b419e92552b6e133660212b4e18177b740a..01c415c75a4620a353730c9a06f477bb662c2de8 100644 --- a/amd/build/suivi-table.js +++ b/amd/build/suivi-table.js @@ -38,6 +38,7 @@ define(['jquery', 'core/ajax', 'core/templates', 'core/str'], checkSelectActions(); }) } + }, //Si l'option de détails au clic est activée, on register l'événement du clic registerDetailsClick:function(){ @@ -79,7 +80,9 @@ define(['jquery', 'core/ajax', 'core/templates', 'core/str'], }); }) - } + }, + + } @@ -117,4 +120,7 @@ define(['jquery', 'core/ajax', 'core/templates', 'core/str'], + + + }); diff --git a/db/install.xml b/db/install.xml index c56ff55a4e96e47cf7df3e1e62a33d0a6d305874..4f2f417c2d7249d9f974f62c54eaeae87c7dd5c7 100644 --- a/db/install.xml +++ b/db/install.xml @@ -7,7 +7,7 @@ <TABLE NAME="format_iena_options" COMMENT="Manage activity tracking table options"> <FIELDS> <FIELD NAME="id" TYPE="int" LENGTH="10" NOTNULL="true" SEQUENCE="true"/> - <FIELD NAME="optionname" TYPE="char" LENGTH="100" NOTNULL="true" SEQUENCE="false"/> + <FIELD NAME="optionname" TYPE="char" LENGTH="20" NOTNULL="true" SEQUENCE="false"/> <FIELD NAME="optionvalue" TYPE="int" LENGTH="1" NOTNULL="false" SEQUENCE="false"/> <FIELD NAME="courseid" TYPE="int" LENGTH="8" NOTNULL="true" SEQUENCE="false"/> <FIELD NAME="userid" TYPE="int" LENGTH="8" NOTNULL="true" SEQUENCE="false"/> diff --git a/db/upgrade.php b/db/upgrade.php index 30f726e7e43c31279f017615ba5921609a25ecda..a4ec75c0d4e449e005268a60a6798224800767b2 100644 --- a/db/upgrade.php +++ b/db/upgrade.php @@ -94,7 +94,6 @@ function xmldb_format_iena_upgrade($oldversion) { upgrade_plugin_savepoint(true, 2021070600, 'format', 'iena'); } if ($oldversion < 2024101505) { - error_log("on passe dans l'ancienne version"); // Define field id to be added to format_iena. $table2 = new xmldb_table('format_iena_options'); $table2->add_field('id', XMLDB_TYPE_INTEGER, '10', null, XMLDB_NOTNULL, XMLDB_SEQUENCE, null, null); @@ -109,12 +108,8 @@ function xmldb_format_iena_upgrade($oldversion) { // Conditionally launch add field id. if (!$dbman->table_exists($table2)) { - error_log("on ajoute la table"); $dbman->create_table($table2); } - else{ - error_log("la table existe"); - } // Iena savepoint reached. diff --git a/templates/suivi-table.mustache b/templates/suivi-table.mustache index 58e09a60d6f8ac4d96ce2c63486f7a2f59c87d92..314f9abbc13c238ddbcc19358562b093395dc005 100644 --- a/templates/suivi-table.mustache +++ b/templates/suivi-table.mustache @@ -2,6 +2,7 @@ <div class="table-wrapper"> <table id="suivi"> + <thead> <tr id="modules"> diff --git a/version.php b/version.php index 103b91da876d5a9061be87a98948def5dfaa827e..4469c2067718c34b92aea1e84f1b0ecf0164ed3a 100644 --- a/version.php +++ b/version.php @@ -27,7 +27,7 @@ defined('MOODLE_INTERNAL') || die(); -$plugin->version = 2024101504; +$plugin->version = 2024101505; $plugin->requires = 2014111000; $plugin->component = 'format_iena'; $plugin->release = "1.0";