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:
parent
53c3f16bf0
commit
b8cde80af3
|
@ -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(", ") ++ _)
|
||||
|
|
Loading…
Reference in New Issue