[LON-CAPA-cvs] cvs: loncom /interface slotrequest.pm
raeburn
raeburn at source.lon-capa.org
Sat Jun 9 11:41:26 EDT 2012
raeburn Sat Jun 9 15:41:26 2012 EDT
Modified files:
/loncom/interface slotrequest.pm
Log:
- Force display of text below inline menu items when reservation unavailable.
Index: loncom/interface/slotrequest.pm
diff -u loncom/interface/slotrequest.pm:1.112 loncom/interface/slotrequest.pm:1.113
--- loncom/interface/slotrequest.pm:1.112 Tue Dec 20 22:44:27 2011
+++ loncom/interface/slotrequest.pm Sat Jun 9 15:41:26 2012
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Handler for requesting to have slots added to a students record
#
-# $Id: slotrequest.pm,v 1.112 2011/12/20 22:44:27 raeburn Exp $
+# $Id: slotrequest.pm,v 1.113 2012/06/09 15:41:26 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -882,7 +882,7 @@
$output .= ' <a href="/adm/flip?postdata=return:">'.
&mt('Return to last resource').'</a>';
}
- $r->print($output);
+ $r->print('<p class="LC_info">'.$output.'</p>');
return;
}
if ($env{'form.command'} eq 'manageresv') {
@@ -2592,8 +2592,9 @@
if (ref($brcrum) eq 'ARRAY') {
push(@{$brcrum},{href=>"/adm/slotrequest?command=$env{'form.command'}",text=>$crumb_titles{$env{'form.command'}}});
}
-
}
+ } else {
+ $brcrum =[];
}
&start_page($r,$title,$brcrum);
More information about the LON-CAPA-cvs
mailing list