--- loncom/metadata_database/LONCAPA/lonmetadata.pm 2007/12/07 22:31:08 1.25 +++ loncom/metadata_database/LONCAPA/lonmetadata.pm 2009/04/21 15:38:05 1.26 @@ -1,6 +1,6 @@ # The LearningOnline Network with CAPA # -# $Id: lonmetadata.pm,v 1.25 2007/12/07 22:31:08 raeburn Exp $ +# $Id: lonmetadata.pm,v 1.26 2009/04/21 15:38:05 bisitz Exp $ # # Copyright Michigan State University Board of Trustees # @@ -935,15 +935,19 @@ sub process_dynamic_metadata { } # # put together comments - my $comments = '
'; + my $comments = ''; foreach my $evaluator (keys(%{$resdata->{'evaluation'}->{'comments'}})){ $comments .= '

'. - ''.$evaluator.':'. + ''.$evaluator.': '. $resdata->{'evaluation'}->{'comments'}->{$evaluator}. '

'; } - $comments .= '
'; + if ($comments) { + $comments = '
' + .$comments + .'
'; + } $data{'comments'} = $comments; # if (exists($resdata->{'stats'})) {