'."\n".
+ '
'."\n".
'
'."\n".
'
'."\n".
'
'."\n";
@@ -1033,11 +1047,12 @@ sub print_request_status {
$output .= &Apache::loncommon::start_data_table().
&Apache::loncommon::start_data_table_header_row().
'
'.&mt('Action').' | '.
- '
'.&mt('Description').' | ';
- if ($env{'form.crstype'} eq 'all') {
+ '
'.&mt('Course Description').' | '.
+ '
'.&mt('Domain').' | ';
+ if ($env{'form.crstype'} eq 'any') {
$output .= '
'.&mt('Type').' | ';
}
- if (($env{'form.crstype'} eq 'all') || ($env{'form.crstype'} eq 'official')) {
+ if (($env{'form.crstype'} eq 'any') || ($env{'form.crstype'} eq 'official')) {
$output .= '
'.&mt('Institutional Code').' | ';
}
$output .= '
'.&mt('Date requested').' | '.
@@ -1051,13 +1066,24 @@ sub print_request_status {
my ($cdom,$cnum) = split('_',$key);
$output .= &Apache::loncommon::start_data_table_row().
'
| '.
- '
'.$desc.' | ';
- if ($env{'form.crstype'} eq 'all') {
- $output .= '
'.&course_types($type).' | ';
+ '
'.&unescape($desc).' | '.
+ '
'.$cdom.' | ';
+ if ($env{'form.crstype'} eq 'any') {
+ my $typename = $typenames{$type};
+ if ($typename eq '') {
+ $typename = &mt('Unknown type');
+ }
+ $output .= '
'.$typename.' | ';
}
- if (($env{'form.crstype'} eq 'all') ||
+ if (($env{'form.crstype'} eq 'any') ||
($env{'form.crstype'} eq 'official')) {
- $output .= '
'.$instcode.' | ';
+ my $showinstcode;
+ if ($type eq 'official') {
+ $showinstcode = &unescape($instcode);
+ } else {
+ $showinstcode = &mt('Not applicable');
+ }
+ $output .= '
'.$showinstcode.' | ';
}
$output .= '
'.$showtime.' | '.
&Apache::loncommon::end_data_table_row();
@@ -1069,8 +1095,8 @@ sub print_request_status {
$output .= '
'.&mt('You have no matching course requests awaiting approval by a Domain Coordinator or held in a queue pending administrative action at your institution.').'
';
}
$output .= '
-
-';
+
+
';
return $output;
}
@@ -1243,6 +1269,24 @@ sub print_review {
'