mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-03 03:55:58 +01:00
Format templates which have a lot of argument.
This commit is contained in:
@@ -1,4 +1,7 @@
|
|||||||
@(collaborators: List[String], milestones: List[model.Milestone], labels: List[model.Label], repository: service.RepositoryService.RepositoryInfo)(implicit context: app.Context)
|
@(collaborators: List[String],
|
||||||
|
milestones: List[model.Milestone],
|
||||||
|
labels: List[model.Label],
|
||||||
|
repository: service.RepositoryService.RepositoryInfo)(implicit context: app.Context)
|
||||||
@import context._
|
@import context._
|
||||||
@import view.helpers._
|
@import view.helpers._
|
||||||
@html.main("New Issue - " + repository.owner + "/" + repository.name){
|
@html.main("New Issue - " + repository.owner + "/" + repository.name){
|
||||||
|
|||||||
@@ -1,7 +1,17 @@
|
|||||||
@(issues: List[(model.Issue, List[model.Label], Int)], page: Int, labels: List[model.Label], milestones: List[model.Milestone],
|
@(issues: List[(model.Issue, List[model.Label], Int)],
|
||||||
openCount: Int, closedCount: Int, allCount: Int, assignedCount: Option[Int], createdByCount: Option[Int], labelCounts: Map[String, Int],
|
page: Int,
|
||||||
condition: service.IssuesService.IssueSearchCondition, filter: String,
|
labels: List[model.Label],
|
||||||
repository: service.RepositoryService.RepositoryInfo, isWritable: Boolean)(implicit context: app.Context)
|
milestones: List[model.Milestone],
|
||||||
|
openCount: Int,
|
||||||
|
closedCount: Int,
|
||||||
|
allCount: Int,
|
||||||
|
assignedCount: Option[Int],
|
||||||
|
createdByCount: Option[Int],
|
||||||
|
labelCounts: Map[String, Int],
|
||||||
|
condition: service.IssuesService.IssueSearchCondition,
|
||||||
|
filter: String,
|
||||||
|
repository: service.RepositoryService.RepositoryInfo,
|
||||||
|
isWritable: Boolean)(implicit context: app.Context)
|
||||||
@import context._
|
@import context._
|
||||||
@import view.helpers._
|
@import view.helpers._
|
||||||
@html.main("Issues - " + repository.owner + "/" + repository.name){
|
@html.main("Issues - " + repository.owner + "/" + repository.name){
|
||||||
|
|||||||
Reference in New Issue
Block a user