Checkes the size of the author list properly

git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@23190 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
This commit is contained in:
pedrofurla 2010-10-05 01:43:45 +00:00
parent 53c3f16bf0
commit b8cde80af3
1 changed files with 1 additions and 1 deletions

View File

@ -339,7 +339,7 @@ class Template(tpl: DocTemplateEntity) extends HtmlPage {
</ol></div>
else NodeSeq.Empty
}
{ if(!comment.since.isEmpty && !isReduced)
{ if(!comment.authors.isEmpty && !isReduced)
<div class="block"><ol>authors
{ val authors:List[scala.xml.NodeSeq]=for(body <- comment.authors) yield <li>{bodyToHtml(body)}</li>
authors.reduceLeft(_ ++ Text(", ") ++ _)