@** * Yona, 21st Century Project Hosting SW * * Copyright Yona & Yobi Authors & NAVER Corp. & NAVER LABS Corp. * https://yona.io **@ @(title: String)(theme:String)(content: Html)(implicit request: RequestHeader) @titleArray = @{title.split(" \\|:\\| ")} @currentUser = @{ UserApp.currentUser() } @defaultPage = @{ if(UserSetting.findByUser(currentUser.id).loginDefaultPage == null) { routes.Application.notifications().toString } else { UserSetting.findByUser(currentUser.id).loginDefaultPage } } @iframePath = @{ val hash = request.getQueryString("hash").get val path = request.getQueryString("path").getOrElse(defaultPage) if(hash.nonEmpty) { path + "#" + hash } else { path } } @titleArray(0)
@common.scripts()
@if(Application.SEND_YONA_USAGE){ }