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

banghart lon-capa-cvs@mail.lon-capa.org
Wed, 02 Aug 2006 16:56:31 -0000


banghart		Wed Aug  2 12:56:31 2006 EDT

  Modified files:              
    /loncom/interface	portfolio.pm 
  Log:
  	Don't describe versioned files as locked (empty first table cells)
  
  
Index: loncom/interface/portfolio.pm
diff -u loncom/interface/portfolio.pm:1.142 loncom/interface/portfolio.pm:1.143
--- loncom/interface/portfolio.pm:1.142	Tue Aug  1 23:05:10 2006
+++ loncom/interface/portfolio.pm	Wed Aug  2 12:56:30 2006
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # portfolio browser
 #
-# $Id: portfolio.pm,v 1.142 2006/08/02 03:05:10 raeburn Exp $
+# $Id: portfolio.pm,v 1.143 2006/08/02 16:56:30 banghart Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -339,6 +339,7 @@
 		    foreach my $dir_line (@version_lines) {
 		        my ($v_filename,$dom,$testdir,$size,$mtime,$obs) = @$dir_line;
                         my ($v_fname,$version,$v_extension) = &Apache::grades::file_name_version_ext($v_filename);
+                        $line = '<td colspan="2">&nbsp;</td>';
                         if (($v_fname eq $fname)&&($v_extension eq $extension)) {
 		            &display_directory_line($r,$select_mode,$fullpath, $v_filename, $mtime, $size, 
 		                            $css_class, $line, \%access_controls, $curr_access, $now,