diff --git a/Mastery Transcript/CHANGEDB.php b/Mastery Transcript/CHANGEDB.php index 778ef6a..b077423 100644 --- a/Mastery Transcript/CHANGEDB.php +++ b/Mastery Transcript/CHANGEDB.php @@ -181,3 +181,7 @@ //v1.4.03 $sql[$count][0] = '1.4.03'; $sql[$count][1] = ""; + +//v1.4.04 +$sql[$count][0] = '1.4.04'; +$sql[$count][1] = ""; diff --git a/Mastery Transcript/CHANGELOG.txt b/Mastery Transcript/CHANGELOG.txt index a4ad2cc..4fdb63f 100644 --- a/Mastery Transcript/CHANGELOG.txt +++ b/Mastery Transcript/CHANGELOG.txt @@ -1,5 +1,9 @@ CHANGELOG ========= +v1.4.04 +------- +Final refactoring of linkTop divs + v1.4.03 ------- Refactoring of linkTop divs diff --git a/Mastery Transcript/index.php b/Mastery Transcript/index.php index ae5fd1d..2e94f62 100755 --- a/Mastery Transcript/index.php +++ b/Mastery Transcript/index.php @@ -34,7 +34,7 @@ $settingGateway = $container->get(SettingGateway::class); $setting = $settingGateway->getSettingByScope('Mastery Transcript', 'indexText', true); if (!empty($setting['value'])) { - echo '

'; + echo '

'; echo $setting['value']; echo '

'; } diff --git a/Mastery Transcript/journey_manage_edit.php b/Mastery Transcript/journey_manage_edit.php index 7612a54..6227d68 100644 --- a/Mastery Transcript/journey_manage_edit.php +++ b/Mastery Transcript/journey_manage_edit.php @@ -76,14 +76,17 @@ return; } - echo "
"; - if ($values['type'] == 'Opportunity') { - echo "".__m('View Opportunity Details')."" ; - } - else if ($values['type'] == 'Credit') { - echo "".__m('View Credit Details')."" ; - } - echo "
"; + if ($values['type'] == 'Opportunity') { + $page->navigator->addHeaderAction('view', __m('View Opportunity Details')) + ->setURL('/modules/Mastery Transcript/opportunities_detail.php') + ->addParams(["masteryTranscriptOpportunityID" => $values['masteryTranscriptOpportunityID']]) + ->displayLabel(); + } else if ($values['type'] == 'Credit') { + $page->navigator->addHeaderAction('view', __m('View Credit Details')) + ->setURL('/modules/Mastery Transcript/credits_detail.php') + ->addParams(["masteryTranscriptCreditID" => $values['masteryTranscriptCreditID']]) + ->displayLabel(); + } //Render log $discussionGateway = $container->get(DiscussionGateway::class); diff --git a/Mastery Transcript/manifest.php b/Mastery Transcript/manifest.php index f553dfa..ed8c21c 100644 --- a/Mastery Transcript/manifest.php +++ b/Mastery Transcript/manifest.php @@ -25,7 +25,7 @@ $entryURL = 'index.php'; $type = 'Additional'; $category = 'Assess'; -$version = '1.4.03'; +$version = '1.4.04'; $author = 'Ross Parker'; $url = 'https://gibbonedu.org'; diff --git a/Mastery Transcript/version.php b/Mastery Transcript/version.php index 4e9c953..ec15f7d 100644 --- a/Mastery Transcript/version.php +++ b/Mastery Transcript/version.php @@ -20,5 +20,5 @@ /** * Sets version information. */ -$moduleVersion = '1.4.03'; +$moduleVersion = '1.4.04'; $coreVersion = '23.0.00';