Make it easier to see leaders and helpers in studygroup lists

This commit is contained in:
2014-06-27 15:06:19 +10:00
parent 57b9b065df
commit 53ea1fd2fe
4 changed files with 54 additions and 44 deletions

View File

@@ -380,7 +380,7 @@ function booking_menu() {
'access arguments' => array('edit study groups'),
//'type' => MENU_LOCAL_ACTION,
);
/*
$items['admin/booking/studygroups/calculate'] = array(
'title' => 'Calculate Study Groups',
'description' => 'Calculate Study Group memberships',
@@ -389,7 +389,7 @@ function booking_menu() {
'access arguments' => array('edit study groups'),
'type' => MENU_LOCAL_ACTION,
);
*/
$items['admin/booking/studygroups/%/update'] = array(
'title' => 'Update Study Groups',
'description' => 'Calculate updated Study Group memberships',
@@ -758,7 +758,7 @@ function booking_generate_luckynumbers() {
$attendees = $attendee_query->fetchAll();
//assuming there's less than 900 people, generate numbers within that range and shuffle the order
$numbers = range(100,999);
$numbers = range(100,650);
shuffle($numbers);
foreach ($attendees as $attendee)