mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-16 18:35:51 +01:00
Add "Network" to the global navigation.
This commit is contained in:
@@ -34,6 +34,9 @@
|
|||||||
<th class="box-header@if(active=="wiki"){ active}">
|
<th class="box-header@if(active=="wiki"){ active}">
|
||||||
<a href="@url(repository)/wiki">Wiki</a>
|
<a href="@url(repository)/wiki">Wiki</a>
|
||||||
</th>
|
</th>
|
||||||
|
<th class="box-header@if(active=="network"){ active}">
|
||||||
|
<a href="@url(repository)/network/members">Network</a>
|
||||||
|
</th>
|
||||||
@if(loginAccount.isDefined && (loginAccount.get.isAdmin || loginAccount.get.userName == repository.owner)){
|
@if(loginAccount.isDefined && (loginAccount.get.isAdmin || loginAccount.get.userName == repository.owner)){
|
||||||
<th class="box-header@if(active=="settings"){ active}">
|
<th class="box-header@if(active=="settings"){ active}">
|
||||||
<a href="@url(repository)/settings">Settings</a>
|
<a href="@url(repository)/settings">Settings</a>
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
@import context._
|
@import context._
|
||||||
@import view.helpers._
|
@import view.helpers._
|
||||||
@html.main(s"${repository.owner}/${repository.name}", Some(repository)) {
|
@html.main(s"${repository.owner}/${repository.name}", Some(repository)) {
|
||||||
|
@html.header("network", repository)
|
||||||
<ul class="nav nav-tabs">
|
<ul class="nav nav-tabs">
|
||||||
<li class="active"><a href="@url(repository)/network/members">Members</a></li>
|
<li class="active"><a href="@url(repository)/network/members">Members</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|||||||
@@ -62,7 +62,7 @@ table.global-nav {
|
|||||||
table.global-nav th {
|
table.global-nav th {
|
||||||
padding-top: 5px;
|
padding-top: 5px;
|
||||||
padding-bottom: 8px;
|
padding-bottom: 8px;
|
||||||
width: 20%;
|
width: 16%;
|
||||||
border-bottom: 2px solid silver;
|
border-bottom: 2px solid silver;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user