[LON-CAPA-cvs] cvs: loncom /homework bridgetask.pm

albertel lon-capa-cvs@mail.lon-capa.org
Tue, 04 Oct 2005 19:41:05 -0000


albertel		Tue Oct  4 15:41:05 2005 EDT

  Modified files:              
    /loncom/homework	bridgetask.pm 
  Log:
  - was showing the header bits twice on the done screen,
  - file submission list looks better
  
  
Index: loncom/homework/bridgetask.pm
diff -u loncom/homework/bridgetask.pm:1.66 loncom/homework/bridgetask.pm:1.67
--- loncom/homework/bridgetask.pm:1.66	Tue Oct  4 15:32:08 2005
+++ loncom/homework/bridgetask.pm	Tue Oct  4 15:41:02 2005
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA 
 # definition of tags that give a structure to a document
 #
-# $Id: bridgetask.pm,v 1.66 2005/10/04 19:32:08 albertel Exp $
+# $Id: bridgetask.pm,v 1.67 2005/10/04 19:41:02 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -395,12 +395,12 @@
 		    $msg.='<h1>'.&mt('Your submission is in the grading queue.').'</h1>';
 		} elsif ($env{'form.donescreen'}) {
 		    my $title=&Apache::lonnet::gettitle();
-		    my $files=$Apache::lonhomework::history{'resource.'.$version.'.0.bridgetask.portfiles'};
-		    $result.= $head_tag_start.'</head>'.$body_tag_start;
+		    my @files=split(',',$Apache::lonhomework::history{'resource.'.$version.'.0.bridgetask.portfiles'});
+		    my $files='<ul><li>'.join('</li><li>',@files).'</li></ul>';
 		    $result.=<<DONESCREEN;
 <h2>$title</h2>
 <p> Files submitted: $files </p>
-<p> You are now done with the Bridge Task </p>
+<p> You are now done with this Bridge Task </p>
 <hr />
 <p> <a href="/adm/logout">Logout</a> </p>
 <p> <a href="/adm/roles">Change to a different course</a> </p>