[LON-CAPA-cvs] cvs: loncom /interface slotrequest.pm

raeburn raeburn at source.lon-capa.org
Wed Aug 1 16:26:44 EDT 2012


raeburn		Wed Aug  1 20:26:44 2012 EDT

  Modified files:              
    /loncom/interface	slotrequest.pm 
  Log:
  - Use <div> for message, to separate it from inline menu.
  
  
Index: loncom/interface/slotrequest.pm
diff -u loncom/interface/slotrequest.pm:1.113 loncom/interface/slotrequest.pm:1.114
--- loncom/interface/slotrequest.pm:1.113	Sat Jun  9 15:41:26 2012
+++ loncom/interface/slotrequest.pm	Wed Aug  1 20:26:43 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.113 2012/06/09 15:41:26 raeburn Exp $
+# $Id: slotrequest.pm,v 1.114 2012/08/01 20:26:43 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -877,12 +877,13 @@
         push(@available,$slot);
     }
     if (!@available) {
-        $output = &mt('No available times.');
+        $output = '<div class="LC_info">'.&mt('No available times.');
         if ($env{'form.command'} ne 'manageresv') {
             $output .= ' <a href="/adm/flip?postdata=return:">'.
                        &mt('Return to last resource').'</a>';
         }
-        $r->print('<p class="LC_info">'.$output.'</p>');
+        $output .= '</div>';
+        $r->print($output);
         return;
     }
     if ($env{'form.command'} eq 'manageresv') {




More information about the LON-CAPA-cvs mailing list