diff --git a/README.md b/README.md index 76f4c85..c8da246 100644 --- a/README.md +++ b/README.md @@ -30,6 +30,6 @@ Szkielet komponentu Joomla 6 do gromadzenia pytań testowych. ## Instalacja -W Joomla wybierz **System → Install → Install from Folder** i wskaż ten katalog. Manifestem instalacyjnym jest `com_testquestions.xml` (wersja 1.43.42). +W Joomla wybierz **System → Install → Install from Folder** i wskaż ten katalog. Manifestem instalacyjnym jest `com_testquestions.xml` (wersja 1.43.43). Po instalacji komponent jest dostępny w panelu administratora jako **Pytania testowe**. diff --git a/administrator/components/com_testquestions/sql/updates/mysql/1.43.43.sql b/administrator/components/com_testquestions/sql/updates/mysql/1.43.43.sql new file mode 100644 index 0000000..49602c1 --- /dev/null +++ b/administrator/components/com_testquestions/sql/updates/mysql/1.43.43.sql @@ -0,0 +1 @@ +-- Brak zmian w schemacie bazy danych w wersji 1.43.43. diff --git a/administrator/components/com_testquestions/tmpl/result/default.php b/administrator/components/com_testquestions/tmpl/result/default.php index 3a3a4a7..db143b4 100644 --- a/administrator/components/com_testquestions/tmpl/result/default.php +++ b/administrator/components/com_testquestions/tmpl/result/default.php @@ -158,6 +158,14 @@ $resolveImageUrl = static function ($path) { + question_type === 'open' && !empty($answer['ai_feedback'])) : ?> + points ?? 0); + $aiAlertClass = $aiPoints <= 0 ? 'alert-danger' : ($aiPoints >= $maxPoints ? 'alert-success' : 'alert-info'); + ?> +
:
+ question_type === 'open' && $hasResponse) : ?>
@@ -176,14 +184,6 @@ $resolveImageUrl = static function ($path) {
- - points ?? 0); - $aiAlertClass = $aiPoints <= 0 ? 'alert-danger' : ($aiPoints >= $maxPoints ? 'alert-success' : 'alert-info'); - ?> -
:
- question_type === 'open' && $hasResponse) : ?>
diff --git a/com_testquestions.xml b/com_testquestions.xml index 40f03b4..9e393bd 100644 --- a/com_testquestions.xml +++ b/com_testquestions.xml @@ -4,7 +4,7 @@ 2026-10-14 Komponent GNU General Public License version 2 or later - 1.43.42 + 1.43.43 COM_TESTQUESTIONS_DESCRIPTION com_testquestions Komponent\Component\Testquestions