[prev in list] [next in list] [prev in thread] [next in thread]
List: lon-capa-cvs
Subject: [LON-CAPA-cvs] cvs: loncom /homework bridgetask.pm
From: albertel <lon-capa-cvs () mail ! lon-capa ! org>
Date: 2005-09-29 19:27:21
Message-ID: cvsalbertel1128022041 () cvsserver
[Download RAW message or body]
albertel Thu Sep 29 15:27:21 2005 EDT
Modified files:
/loncom/homework bridgetask.pm
Log:
- only show status if they have passed or failed it
Index: loncom/homework/bridgetask.pm
diff -u loncom/homework/bridgetask.pm:1.55 loncom/homework/bridgetask.pm:1.56
--- loncom/homework/bridgetask.pm:1.55 Thu Sep 29 15:18:37 2005
+++ loncom/homework/bridgetask.pm Thu Sep 29 15:27:19 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.55 2005/09/29 19:18:37 albertel Exp $
+# $Id: bridgetask.pm,v 1.56 2005/09/29 19:27:19 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -564,7 +564,8 @@
"</table>";
$result.=&Apache::inputtags::gradestatus('0');
}
- if (&show_task($status,$previous)) {
+ if (&show_task($status,$previous) &&
+ $Apache::lonhomework::history{"resource.$version.status"} =~ /^(pass|fail)$/) {
my $bt_status=$Apache::lonhomework::history{"resource.$version.status"};
my $title=&Apache::lonnet::gettitle();
my %slot=&Apache::lonnet::get_slot($Apache::inputtags::slot_name);
_______________________________________________
LON-CAPA-cvs mailing list
LON-CAPA-cvs@mail.lon-capa.org
http://mail.lon-capa.org/mailman/listinfo/lon-capa-cvs
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic