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

albertel lon-capa-cvs@mail.lon-capa.org
Sat, 01 Oct 2005 04:01:16 -0000


albertel		Sat Oct  1 00:01:16 2005 EDT

  Modified files:              
    /loncom/homework	bridgetask.pm 
  Log:
  - only show up when webgrade succeeds
  
  
Index: loncom/homework/bridgetask.pm
diff -u loncom/homework/bridgetask.pm:1.60 loncom/homework/bridgetask.pm:1.61
--- loncom/homework/bridgetask.pm:1.60	Fri Sep 30 23:55:06 2005
+++ loncom/homework/bridgetask.pm	Sat Oct  1 00:01:14 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.60 2005/10/01 03:55:06 albertel Exp $
+# $Id: bridgetask.pm,v 1.61 2005/10/01 04:01:14 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -478,7 +478,9 @@
 	    my $bodytext=&Apache::lonxml::get_all_text("/task",$parser);
 	}
 	if ($target eq 'webgrade' && defined($env{'form.queue'})) {
-	    $result.=&submission_time_stamp();
+	    if ($webgrade eq 'yes') {
+		$result.=&submission_time_stamp();
+	    }
 	    $result.=$form_tag_start;
 	    $result.='<input type="hidden" name="webgrade" value="'.
 		$webgrade.'" />';