(refs #26) Implements the dashboard issue display.

This commit is contained in:
shimamoto
2013-07-30 10:47:46 +09:00
parent 57109dd72e
commit 8409384232
5 changed files with 51 additions and 47 deletions

View File

@@ -2,7 +2,7 @@
allCount: Int,
assignedCount: Int,
createdByCount: Int,
repositories: List[service.RepositoryService.RepositoryInfo],
repositories: List[(String, String)],
condition: service.IssuesService.IssueSearchCondition,
filter: String)(implicit context: app.Context)
@import context._
@@ -33,11 +33,11 @@
</ul>
<hr/>
<ul class="nav nav-pills nav-stacked small">
@repositories.map { repository =>
@repositories.map { case (owner, name) =>
<li>
<a href="@condition.copy(repo = Some(repository.owner + "/" + repository.name)).toURL">
<a href="@condition.copy(repo = Some(owner + "/" + name)).toURL">
<span class="count-right">0</span>
@repository.owner/@repository.name
@owner/@name
</a>
</li>
}