mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-16 10:25:49 +01:00
Fix issue title.
This commit is contained in:
@@ -1,36 +1,36 @@
|
|||||||
@(active: String, repository: service.RepositoryService.RepositoryInfo)(implicit context: app.Context)
|
@(active: String, repository: service.RepositoryService.RepositoryInfo)(implicit context: app.Context)
|
||||||
@import context._
|
@import context._
|
||||||
@import service.AccountService._
|
@import service.AccountService._
|
||||||
@import service.RepositoryService._
|
@import service.RepositoryService._
|
||||||
<div class="head">
|
<div class="head">
|
||||||
<a href="@path/@repository.owner">@repository.owner</a> / <a href="@path/@repository.owner/@repository.name">@repository.name</a>
|
<a href="@path/@repository.owner">@repository.owner</a> / <a href="@path/@repository.owner/@repository.name">@repository.name</a>
|
||||||
@if(repository.repository.repositoryType == Private){
|
@if(repository.repository.repositoryType == Private){
|
||||||
<i class="icon-lock"></i>
|
<i class="icon-lock"></i>
|
||||||
}
|
}
|
||||||
</div>
|
</div>
|
||||||
<table class="global-nav box-header">
|
<table class="global-nav box-header">
|
||||||
<tr>
|
<tr>
|
||||||
<th class="box-header@if(active=="code"){ active}">
|
<th class="box-header@if(active=="code"){ active}">
|
||||||
<a href="@path/@repository.owner/@repository.name">Code</a>
|
<a href="@path/@repository.owner/@repository.name">Code</a>
|
||||||
</th>
|
</th>
|
||||||
<th class="box-header@if(active=="issue"){ active}">
|
<th class="box-header@if(active=="issues"){ active}">
|
||||||
<a href="@path/@repository.owner/@repository.name/issues">Issue</a>
|
<a href="@path/@repository.owner/@repository.name/issues">Issues</a>
|
||||||
</th>
|
</th>
|
||||||
<th class="box-header@if(active=="wiki"){ active}">
|
<th class="box-header@if(active=="wiki"){ active}">
|
||||||
<a href="@path/@repository.owner/@repository.name/wiki">Wiki</a>
|
<a href="@path/@repository.owner/@repository.name/wiki">Wiki</a>
|
||||||
</th>
|
</th>
|
||||||
@if(loginAccount.isDefined && (loginAccount.get.userType == Administrator || loginAccount.get.userName == repository.owner)){
|
@if(loginAccount.isDefined && (loginAccount.get.userType == Administrator || loginAccount.get.userName == repository.owner)){
|
||||||
<th class="box-header@if(active=="settings"){ active}">
|
<th class="box-header@if(active=="settings"){ active}">
|
||||||
<a href="@path/@repository.owner/@repository.name/settings">Settings</a>
|
<a href="@path/@repository.owner/@repository.name/settings">Settings</a>
|
||||||
</th>
|
</th>
|
||||||
}
|
}
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
$(function(){
|
$(function(){
|
||||||
$('.box-header').click(function(){
|
$('.box-header').click(function(){
|
||||||
location.href = $(this).find('a').attr('href');
|
location.href = $(this).find('a').attr('href');
|
||||||
return false;
|
return false;
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
Reference in New Issue
Block a user