Skip to content

Commit

Permalink
MDL-23381 Fixed up the display of groups again. Images / menu and for…
Browse files Browse the repository at this point in the history
…matting
  • Loading branch information
moodler committed Jul 19, 2010
1 parent be9608f commit b60cae8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 2 additions & 0 deletions theme/canvas/style/core.css
Original file line number Diff line number Diff line change
Expand Up @@ -419,6 +419,8 @@ padding: 0
vertical-align: middle;
}

.groupinfobox {border-color: #DDDDDD;width: 60%;margin-left: 20%;margin-right: 20%;}

/* Notes
------------------------*/

Expand Down
5 changes: 2 additions & 3 deletions user/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@
$controlstable->data[0]->cells[] = $OUTPUT->render($select);
}

$controlstable->data[0]->cells[] = groups_print_course_menu($course, $baseurl->out());
$controlstable->data[0]->cells[] = groups_print_course_menu($course, $baseurl->out(), true);

if (!isset($hiddenfields['lastaccess'])) {
// get minimum lastaccess for this course and display a dropbox to filter by lastaccess going back this far.
Expand Down Expand Up @@ -290,11 +290,10 @@
$groupinfotable->attributes['class'] = 'groupinfobox';
$picturecell = new html_table_cell();
$picturecell->attributes['class'] = 'left side picture';
$picturecell->text = print_group_picture($group, $course->id, true, false, false);
$picturecell->text = print_group_picture($group, $course->id, true, true, false);

$contentcell = new html_table_cell();
$contentcell->attributes['class'] = 'content';
$contentcell->text = print_group_picture($group, $course->id, true, false, false);

$contentheading = $group->name;
if (has_capability('moodle/course:managegroups', $context)) {
Expand Down

0 comments on commit b60cae8

Please sign in to comment.