--- loncom/auth/lonroles.pm 2010/12/05 17:22:18 1.240.2.22
+++ loncom/auth/lonroles.pm 2010/12/08 06:48:56 1.240.2.23
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# User Roles Screen
#
-# $Id: lonroles.pm,v 1.240.2.22 2010/12/05 17:22:18 raeburn Exp $
+# $Id: lonroles.pm,v 1.240.2.23 2010/12/08 06:48:56 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -801,8 +801,9 @@ ENDHEADER
if ($show_course) {
if ($env{'user.domain'} =~ /^\w+citest$/) {
$r->print('
'.&mt('Currently no active Concept Tests').'
');
- } elsif ($env{'user.domain'} =~ /ci$/) {
- $r->print(''.&mt('Currently not assigned as a GCI contributor').'
');
+ } elsif ($env{'user.domain'} =~ /^\w+ci$/) {
+ my $inventory = uc($env{'user.domain'});
+ $r->print(''.&mt('Currently not assigned as a [_1] contributor',$inventory).'
');
}
} else {
$r->print(''.&mt('Currently no active roles, courses or communities').'
');
@@ -979,7 +980,7 @@ sub ci_info_page {
);
my $inventory = uc($env{'user.domain'});
my %features = (
- review => 'Review and comment on existing $inventory questions',
+ review => "Review and comment on existing $inventory questions",
submit => "Submit $inventory questions of your own",
managetest => 'Create an online test for your students',
tutorial => 'View tutorials on creating online tests',