--- loncom/auth/lonroles.pm 2005/11/08 21:54:03 1.132 +++ loncom/auth/lonroles.pm 2005/11/08 22:08:12 1.133 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # User Roles Screen # -# $Id: lonroles.pm,v 1.132 2005/11/08 21:54:03 albertel Exp $ +# $Id: lonroles.pm,v 1.133 2005/11/08 22:08:12 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -609,6 +609,9 @@ ENDHEADER foreach (sort(keys(%recent_roles))) { if (defined($roletext{'user.role.'.$_})) { $output.=$roletext{'user.role.'.$_}; + if ($_ =~ m-dc\./(\w+)/- && $dcroles{$1}) { + $output .= &allcourses_row($1); + } } elsif ($numdc > 0) { unless ($_ =~/^error\:/) { $output.=&display_cc_role('user.role.'.$_);