diff options
author | Pedro Furlanetto <pedrofurla@gmail.com> | 2010-10-05 01:43:45 +0000 |
---|---|---|
committer | Pedro Furlanetto <pedrofurla@gmail.com> | 2010-10-05 01:43:45 +0000 |
commit | 74a0c96db07a3bef246bcc197cbe545b2a1eeee7 (patch) | |
tree | e735dfccb0e34b2ef83ae2f183f41e2631c70ee8 | |
parent | 6472e115d500bc0cae6064af2603c94c247c9732 (diff) | |
download | scala-74a0c96db07a3bef246bcc197cbe545b2a1eeee7.tar.gz scala-74a0c96db07a3bef246bcc197cbe545b2a1eeee7.tar.bz2 scala-74a0c96db07a3bef246bcc197cbe545b2a1eeee7.zip |
Checkes the size of the author list properly
-rw-r--r-- | src/compiler/scala/tools/nsc/doc/html/page/Template.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/doc/html/page/Template.scala b/src/compiler/scala/tools/nsc/doc/html/page/Template.scala index 18d8a99622..362dcbe47d 100644 --- a/src/compiler/scala/tools/nsc/doc/html/page/Template.scala +++ b/src/compiler/scala/tools/nsc/doc/html/page/Template.scala @@ -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(", ") ++ _) |