Skip to content

Commit

Permalink
v1.5.07
Browse files Browse the repository at this point in the history
  • Loading branch information
Ross Parker committed Mar 21, 2022
1 parent 6194f4f commit 446fcf8
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 12 deletions.
5 changes: 5 additions & 0 deletions ATL/CHANGEDB.php
Original file line number Diff line number Diff line change
Expand Up @@ -161,3 +161,8 @@
++$count;
$sql[$count][0] = '1.5.06';
$sql[$count][1] = '';

//v1.5.07
++$count;
$sql[$count][0] = '1.5.07';
$sql[$count][1] = '';
4 changes: 4 additions & 0 deletions ATL/CHANGELOG.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
CHANGELOG
=========
v1.5.07
-------
Refactoring of linkTop divs

v1.5.06
-------
Added ATL chart to the dashboard tabs and View ATLs page
Expand Down
18 changes: 9 additions & 9 deletions ATL/atl_manage.php
Original file line number Diff line number Diff line change
Expand Up @@ -98,11 +98,6 @@
echo '</div>';
}

//Add multiple columns
echo "<div class='linkTop'>";
echo "<a href='".$session->get('absoluteURL').'/index.php?q=/modules/'.$session->get('module')."/atl_manage_add.php&gibbonCourseClassID=$gibbonCourseClassID'>".__('Add Multiple Columns')."<img style='margin-left: 5px' title='".__('Add Multiple Columns')."' src='./themes/".$session->get('gibbonThemeName')."/img/page_new_multi.png'/></a>";
echo '</div>';

//Get teacher list
$teaching = false;
try {
Expand Down Expand Up @@ -131,10 +126,15 @@
//TABLE
$atlColumnGateway = $container->get(ATLColumnGateway::class);
$atlColumnData = $atlColumnGateway->selectBy(['gibbonCourseClassID' => $gibbonCourseClassID])->fetchAll();

$table = DataTable::create('atlColumns');
$table->setTitle('ATL Columns');


$table->addHeaderAction('addMultiple', __('Add Multiple Columns'))
->setURL('/modules/ATL/atl_manage_add.php')
->addParam('gibbonCourseClassID', $gibbonCourseClassID)
->displayLabel();

$table->addColumn('name', __('Name'));
$table->addColumn('completeDate', __('Date Complete'));
$table->addActionColumn()
Expand All @@ -146,13 +146,13 @@

$actions->addAction('delete', __('Delete'))
->setURL('/modules/' . $session->get('module') . '/atl_manage_delete.php');

$actions->addAction('enterData', __('Enter Data'))
->setURL('/modules/' . $session->get('module') . '/atl_write_data.php')
->setIcon('markbook');

});

echo $table->render($atlColumnData);
}
}
Expand Down
2 changes: 1 addition & 1 deletion ATL/manifest.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
$entryURL = 'atl_write.php';
$type = 'Additional';
$category = 'Assess';
$version = '1.5.06';
$version = '1.5.07';
$author = 'Ross Parker';
$url = 'http://rossparker.org';

Expand Down
4 changes: 2 additions & 2 deletions ATL/version.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@
/**
* Sets version information.
*/
$moduleVersion = '1.5.06';
$coreVersion = '22.0.00';
$moduleVersion = '1.5.07';
$coreVersion = '23.0.00';

0 comments on commit 446fcf8

Please sign in to comment.