Display the lock icon for private repositories.

This commit is contained in:
takezoe
2013-06-04 21:21:03 +09:00
parent 9174ed8441
commit f59e852fa1
3 changed files with 16 additions and 2 deletions

View File

@@ -1,8 +1,12 @@
@(active: String, repository: service.RepositoryService.RepositoryInfo)(implicit context: app.Context)
@import context._
@import service.AccountService._
@import service.RepositoryService._
<div class="head">
<a href="@path/@repository.owner">@repository.owner</a> / <a href="@path/@repository.owner/@repository.name">@repository.name</a>
@if(repository.repository.repositoryType == Private){
<i class="icon-lock"></i>
}
</div>
<table class="global-nav box-header">
<tr>