@(pageName: String, page: Option[service.WikiService.WikiPageInfo], repository: service.RepositoryService.RepositoryInfo)(implicit context: app.Context) @import context._ @import view.helpers._ @html.main((if(pageName == "") "New Page" else pageName) + " - " + repository.owner + "/" + repository.name){ @html.header("wiki", repository) @tab("", repository)
@helper.html.preview(repository, page.map(_.content).getOrElse(""), true, false, false, "width: 900px; height: 400px;", "") }