mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-05 04:56:02 +01:00
Fix the repository settings menu.
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
@import context._
|
||||
@html.main("Settings"){
|
||||
@html.header("settings", repository)
|
||||
@menu("collaborators"){
|
||||
@menu("collaborators", repository){
|
||||
<h3>Manage Collaborators</h3>
|
||||
|
||||
<input type="text" style="width: 300px; margin-bottom: 0px;"/>
|
||||
|
||||
@@ -1,10 +1,14 @@
|
||||
@(active: String)(body: Html)(implicit context: app.Context)
|
||||
@(active: String, repository: app.RepositoryInfo)(body: Html)(implicit context: app.Context)
|
||||
@import context._
|
||||
<div class="row-fluid">
|
||||
<div class="span3">
|
||||
<ul class="nav nav-tabs nav-stacked">
|
||||
<li class="active"><a href="@path/settings/options">Options</a></li>
|
||||
<li><a href="@path/settings/collaborators">Collaborators</a></li>
|
||||
<li@if(active=="options"){ class="active"}>
|
||||
<a href="@path/@repository.owner/@repository.name/settings/options">Options</a>
|
||||
</li>
|
||||
<li@if(active=="collaborators"){ class="active"}>
|
||||
<a href="@path/@repository.owner/@repository.name/settings/collaborators">Collaborators</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="span9">
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
@import context._
|
||||
@html.main("Settings"){
|
||||
@html.header("settings", repository)
|
||||
@menu("options"){
|
||||
@menu("options", repository){
|
||||
<form id="form" method="post" action="@path/new" validate="true">
|
||||
<div class="box">
|
||||
<div class="box-header">Settings</div>
|
||||
|
||||
Reference in New Issue
Block a user