(refs #187)Repository icons are updated.

This commit is contained in:
takezoe
2014-02-21 11:39:02 +09:00
parent bb9a23fe0f
commit 7ba1f85d48
7 changed files with 260 additions and 19 deletions

View File

@@ -12,10 +12,13 @@
}
<div class="head">
@if(repository.repository.isPrivate){
<i class="icon-lock"></i>
}
@if(!repository.repository.isPrivate){
<i class="icon-eye-open"></i>
<img src="@assets/common/images/repo_private.png"/>
} else {
@if(repository.repository.originUserName.isDefined){
<img src="@assets/common/images/repo_fork.png"/>
} else {
<img src="@assets/common/images/repo_public.png"/>
}
}
<a href="@url(repository.owner)">@repository.owner</a> / <a href="@url(repository)" class="strong">@repository.name</a>