[LON-CAPA-cvs] cvs: loncom /homework inputtags.pm
raeburn
raeburn at source.lon-capa.org
Tue Aug 21 14:24:28 EDT 2012
raeburn Tue Aug 21 18:24:28 2012 EDT
Modified files:
/loncom/homework inputtags.pm
Log:
- Bug 6592.
Index: loncom/homework/inputtags.pm
diff -u loncom/homework/inputtags.pm:1.306 loncom/homework/inputtags.pm:1.307
--- loncom/homework/inputtags.pm:1.306 Tue Aug 21 18:20:38 2012
+++ loncom/homework/inputtags.pm Tue Aug 21 18:24:28 2012
@@ -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 @@
}
}
if ($header_shown) {
- $result .= &Apache::loncommon::end_data_table().
- '<br /><span class="LC_warning">'.
- &mt('Exclude existing file(s) from grading by checking the "Delete?" checkbox(es) and clicking "Submit Answer"').'</span>';
+ $result .= &Apache::loncommon::end_data_table();
+ if ($Apache::inputtags::status[-1] eq 'CAN_ANSWER') {
+ $result .= '<br /><span class="LC_warning">'.
+ &mt('Exclude existing file(s) from grading by checking the "Delete?" checkbox(es) and clicking "Submit Answer"').'</span>';
+ }
}
if (@bad_file_list) {
my $bad_files = '<span class="LC_filename">'.
More information about the LON-CAPA-cvs
mailing list