|
1 | | -import javax.servlet.http.{HttpServletResponse, HttpServletRequest} |
2 | | - |
3 | 1 | import gitbucket.core.model._ |
4 | 2 | import gitbucket.core.service.AccountService |
5 | 3 | import gitbucket.core.service.SystemSettingsService.SystemSettings |
@@ -44,18 +42,6 @@ class Plugin extends gitbucket.core.plugin.Plugin { |
44 | 42 | "/*" -> new GistController() |
45 | 43 | ) |
46 | 44 |
|
47 | | - override val images = Seq( |
48 | | - "images/menu-code-active.png" -> fromClassPath("images/menu-code-active.png"), |
49 | | - "images/menu-code.png" -> fromClassPath("images/menu-code.png"), |
50 | | - "images/menu-revisions-active.png" -> fromClassPath("images/menu-revisions-active.png"), |
51 | | - "images/menu-revisions.png" -> fromClassPath("images/menu-revisions.png"), |
52 | | - "images/menu-forks-active.png" -> fromClassPath("images/menu-forks-active.png"), |
53 | | - "images/menu-forks.png" -> fromClassPath("images/menu-forks.png"), |
54 | | - "images/code.png" -> fromClassPath("images/code.png"), |
55 | | - "images/comment.png" -> fromClassPath("images/comment.png"), |
56 | | - "images/snippet.png" -> fromClassPath("images/snippet.png") |
57 | | - ) |
58 | | - |
59 | 45 | override def javaScripts(registry: PluginRegistry, context: ServletContext, settings: SystemSettings): Seq[(String, String)] = { |
60 | 46 | // Add Snippet link to the header |
61 | 47 | val path = settings.baseUrl.getOrElse(context.getContextPath) |
|
0 commit comments