mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-11 07:55:55 +01:00
Refactor for views.
- Replace urls with helpers.url and helpers.assets - Move google-code-prettify to main.scala.html - Move some CSS styles to gitbucket.css
This commit is contained in:
@@ -1,12 +1,13 @@
|
||||
@(repository: service.RepositoryService.RepositoryInfo)(implicit context: app.Context)
|
||||
@import context._
|
||||
@import view.helpers._
|
||||
@html.main("New Issue - " + repository.owner + "/" + repository.name){
|
||||
@html.header("issues", repository)
|
||||
@issuestab("", repository)
|
||||
|
||||
<div class="row-fluid">
|
||||
<div class="span9">
|
||||
<form action="@path/@repository.owner/@repository.name/issues" method="POST" validate="true">
|
||||
<form action="@url(repository)/issues" method="POST" validate="true">
|
||||
<div class="box">
|
||||
<div class="box-content">
|
||||
<span id="error-title" class="error"></span>
|
||||
|
||||
Reference in New Issue
Block a user