diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/compiler/scala/tools/nsc/doc/html/page/Template.scala | 8 |
1 files changed, 8 insertions, 0 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 622d2cdc22..18d8a99622 100644 --- a/src/compiler/scala/tools/nsc/doc/html/page/Template.scala +++ b/src/compiler/scala/tools/nsc/doc/html/page/Template.scala @@ -339,6 +339,14 @@ class Template(tpl: DocTemplateEntity) extends HtmlPage { </ol></div> else NodeSeq.Empty } + { if(!comment.since.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(", ") ++ _) + } + </ol></div> + else NodeSeq.Empty + } { if(!comment.see.isEmpty && !isReduced) <div class="block"><ol>see also: { val seeXml:List[scala.xml.NodeSeq]=(for(see <- comment.see ) yield <li>{bodyToHtml(see)}</li> ) |