From 0da358311bb7afd46c986a94571a85524ca3e528 Mon Sep 17 00:00:00 2001 From: Naoki Takezoe Date: Sat, 9 Jul 2016 14:50:17 +0900 Subject: [PATCH] Change import to resolve resolving error in IntelliJ --- .../gitbucket/core/admin/data.scala.html | 10 +-- .../gitbucket/core/admin/menu.scala.html | 13 ++- .../gitbucket/core/admin/plugins.scala.html | 6 +- .../gitbucket/core/admin/system.scala.html | 85 +++++++++---------- .../gitbucket/core/admin/user.scala.html | 13 ++- .../gitbucket/core/admin/usergroup.scala.html | 18 ++-- .../gitbucket/core/admin/userlist.scala.html | 29 +++---- .../core/dashboard/header.scala.html | 30 +++---- .../core/dashboard/issues.scala.html | 12 ++- .../core/dashboard/issueslist.scala.html | 21 +++-- .../core/dashboard/issuesnavi.scala.html | 2 - .../gitbucket/core/dashboard/pulls.scala.html | 12 ++- .../core/dashboard/sidebar.scala.html | 14 +-- .../gitbucket/core/dashboard/tab.scala.html | 12 ++- .../gitbucket/core/helper/account.scala.html | 3 +- .../core/helper/activities.scala.html | 32 +++---- .../gitbucket/core/helper/attached.scala.html | 10 +-- .../core/helper/branchcontrol.scala.html | 9 +- .../core/helper/commitcomment.scala.html | 17 ++-- .../core/helper/datetimeago.scala.html | 10 +-- .../gitbucket/core/helper/diff.scala.html | 23 +++-- .../gitbucket/core/helper/feed.scala.xml | 17 ++-- .../core/helper/forkrepository.scala.html | 11 ++- .../gitbucket/core/helper/preview.scala.html | 10 +-- .../core/helper/repositoryicon.scala.html | 3 - .../core/helper/uploadavatar.scala.html | 5 +- 26 files changed, 196 insertions(+), 231 deletions(-) diff --git a/src/main/twirl/gitbucket/core/admin/data.scala.html b/src/main/twirl/gitbucket/core/admin/data.scala.html index 669d75d3a..ed4364dfd 100644 --- a/src/main/twirl/gitbucket/core/admin/data.scala.html +++ b/src/main/twirl/gitbucket/core/admin/data.scala.html @@ -1,12 +1,10 @@ @(tableNames: Seq[String])(implicit context: gitbucket.core.controller.Context) -@import context._ -@import gitbucket.core.view.helpers._ -@html.main("Data export / import"){ - @admin.html.menu("data") { +@gitbucket.core.html.main("Data export / import"){ + @gitbucket.core.admin.html.menu("data") {
Export
-
+ @tableNames.map { tableName =>