mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-11 16:05:49 +01:00
(refs #187)Repository icons are updated.
This commit is contained in:
@@ -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>
|
||||
|
||||
|
||||
@@ -32,10 +32,13 @@
|
||||
<tr>
|
||||
<td>
|
||||
@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"/>
|
||||
}
|
||||
}
|
||||
@if(repository.owner == loginAccount.get.userName){
|
||||
<a href="@url(repository)"><span class="strong">@repository.name</span></a>
|
||||
@@ -64,10 +67,13 @@
|
||||
<tr>
|
||||
<td>
|
||||
@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)">@repository.owner/<span class="strong">@repository.name</span></a>
|
||||
</td>
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
<fieldset class="margin">
|
||||
<label class="radio">
|
||||
<input type="radio" name="isPrivate" value="false" checked>
|
||||
<span class="strong"><i class="icon-eye-open"> </i> Public</span><br>
|
||||
<span class="strong"><img src="@assets/common/images/repo_public.png"/> </i> Public</span><br>
|
||||
<div>
|
||||
<span>All users and guests can read this repository.</span>
|
||||
</div>
|
||||
@@ -39,7 +39,7 @@
|
||||
<fieldset>
|
||||
<label class="radio">
|
||||
<input type="radio" name="isPrivate" value="true">
|
||||
<span class="strong"><i class="icon-lock"> </i> Private</span><br>
|
||||
<span class="strong"><img src="@assets/common/images/repo_private.png"/> </i> Private</span><br>
|
||||
<div>
|
||||
<span>Only collaborators can read this repository.</span>
|
||||
</div>
|
||||
|
||||
BIN
src/main/webapp/assets/common/images/repo_fork.png
Normal file
BIN
src/main/webapp/assets/common/images/repo_fork.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 285 B |
BIN
src/main/webapp/assets/common/images/repo_private.png
Normal file
BIN
src/main/webapp/assets/common/images/repo_private.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 280 B |
BIN
src/main/webapp/assets/common/images/repo_public.png
Normal file
BIN
src/main/webapp/assets/common/images/repo_public.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 247 B |
Reference in New Issue
Block a user