--- loncom/homework/inputtags.pm 2012/08/21 18:20:38 1.306
+++ loncom/homework/inputtags.pm 2012/08/21 18:24:28 1.307
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# input definitons
#
-# $Id: inputtags.pm,v 1.306 2012/08/21 18:20:38 raeburn Exp $
+# $Id: inputtags.pm,v 1.307 2012/08/21 18:24:28 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -688,9 +688,11 @@ sub current_file_submissions {
}
}
if ($header_shown) {
- $result .= &Apache::loncommon::end_data_table().
- '
'.
- &mt('Exclude existing file(s) from grading by checking the "Delete?" checkbox(es) and clicking "Submit Answer"').'';
+ $result .= &Apache::loncommon::end_data_table();
+ if ($Apache::inputtags::status[-1] eq 'CAN_ANSWER') {
+ $result .= '
'.
+ &mt('Exclude existing file(s) from grading by checking the "Delete?" checkbox(es) and clicking "Submit Answer"').'';
+ }
}
if (@bad_file_list) {
my $bad_files = ''.