[LON-CAPA-cvs] cvs: loncom /interface lonhtmlcommon.pm
raeburn
raeburn at source.lon-capa.org
Fri May 4 15:03:18 EDT 2012
raeburn Fri May 4 19:03:18 2012 EDT
Modified files:
/loncom/interface lonhtmlcommon.pm
Log:
- duedatecountdown unwanted when lonhtmlcommon::breadcrumbs() used to
generate breadcrumb trail within Course Editor.
Index: loncom/interface/lonhtmlcommon.pm
diff -u loncom/interface/lonhtmlcommon.pm:1.311 loncom/interface/lonhtmlcommon.pm:1.312
--- loncom/interface/lonhtmlcommon.pm:1.311 Wed May 2 18:01:53 2012
+++ loncom/interface/lonhtmlcommon.pm Fri May 4 19:03:18 2012
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# a pile of common html routines
#
-# $Id: lonhtmlcommon.pm,v 1.311 2012/05/02 18:01:53 raeburn Exp $
+# $Id: lonhtmlcommon.pm,v 1.312 2012/05/04 19:03:18 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -1643,7 +1643,9 @@
$links .= &htmltag( 'li', htmltag($CourseBreadcrumbs ? 'b' : 'h1',
$lasttext), {title => $lasttext});
- $links .= '<li> <span id="duedatecountdown"></span></li>';
+ unless ($CourseBreadcrumbs) {
+ $links .= '<li> <span id="duedatecountdown"></span></li>';
+ }
my $icons = '';
$faq = $last->{'faq'} if (exists($last->{'faq'}));
More information about the LON-CAPA-cvs
mailing list