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

kruse kruse at source.lon-capa.org
Thu Jun 12 08:08:02 EDT 2014


kruse		Thu Jun 12 12:08:02 2014 EDT

  Modified files:              
    /loncom/interface	lonmeta.pm 
  Log:
  Added column for displaying the domain of the specific courses in "Recent Detailed Assessment Statistical Data"-table
  in the dynamic metadata, in order to make courses with same description on different domains easier distinguishable.
  
  
Index: loncom/interface/lonmeta.pm
diff -u loncom/interface/lonmeta.pm:1.252 loncom/interface/lonmeta.pm:1.253
--- loncom/interface/lonmeta.pm:1.252	Tue Feb 11 18:52:20 2014
+++ loncom/interface/lonmeta.pm	Thu Jun 12 12:08:02 2014
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Metadata display handler
 #
-# $Id: lonmeta.pm,v 1.252 2014/02/11 18:52:20 bisitz Exp $
+# $Id: lonmeta.pm,v 1.253 2014/06/12 12:08:02 kruse Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1122,6 +1122,7 @@
         if (exists($dynmeta{'stats'})) {
             my $table=&Apache::loncommon::start_data_table()
                      .&Apache::loncommon::start_data_table_header_row()
+		     .'<th>'.&mt('Domain').'</th>'
                      .'<th>'.&mt('Course').'</th>'
                      .'<th>'.&mt('Section(s)').'</th>'
                      .'<th>'.&mt('Num Students').'</th>'
@@ -1142,6 +1143,8 @@
                     next;
                 }
                 $table .= &Apache::loncommon::start_data_table_row();
+		$table .=
+		    '<td><span class="LC_nobreak">'.$courseinfo{'domain'}.'</span></td>';
                 $table .= 
                     '<td><span class="LC_nobreak">'.$courseinfo{'description'}.'</span></td>';
                 $table .= 




More information about the LON-CAPA-cvs mailing list