--- loncom/interface/lonnavmaps.pm 2025/01/31 16:07:31 1.568 +++ loncom/interface/lonnavmaps.pm 2025/02/03 00:08:31 1.569 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Navigate Maps Handler # -# $Id: lonnavmaps.pm,v 1.568 2025/01/31 16:07:31 raeburn Exp $ +# $Id: lonnavmaps.pm,v 1.569 2025/02/03 00:08:31 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -1594,27 +1594,18 @@ sub render { my $printKey = $args->{'printKey'}; my $printCloseAll = $args->{'printCloseAll'}; if (!defined($printCloseAll)) { $printCloseAll = 1; } - + # Print key? if ($printKey) { - $result .= ''; - $result.=''; - my $location=&Apache::loncommon::lonhttpdurl("/adm/lonMisc"); - if ($navmap->{LAST_CHECK}) { - $result .= - ' '.&mt('New discussion since').' '. - strftime("%A, %b %e at %I:%M %P", localtime($navmap->{LAST_CHECK})). - ''; - } else { - $result .= ''; - } - - $result .= '
Key:    '. - ' '.&mt('New message (click to open)').'

'. - '

  '. - ' '.&mt('Discussions').''. - '   '.&mt('New message (click to open)'). - '
'; + my $location = &Apache::loncommon::lonhttpdurl("/adm/lonMisc"); + $result .= ''. + ''. + '
Key:    '. + ' '.&mt('Unread Discussion'). + ''. + '   '. + &mt('New message (click to open)'). + '
'."\n"; } if ($printCloseAll && !$args->{'resource_no_folder_link'}) {