mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-14 09:25:49 +01:00
(refs #1479)Url encode the branch name
This commit is contained in:
@@ -46,14 +46,12 @@
|
||||
</form>
|
||||
</p>
|
||||
|
||||
<table class="table table-bordered table-hover branches">
|
||||
<table class="table table-hover branches">
|
||||
@protectedBranchList.map { branch =>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="branch-name">@branch</span>
|
||||
<span class="branch-action">
|
||||
<a href="@helpers.url(repository)/settings/branches/@helpers.encodeRefName(branch)" class="btn btn-small btn-default">Edit</a>
|
||||
</span>
|
||||
<a href="@helpers.url(repository)/settings/branches/@helpers.urlEncode(branch)" class="btn btn-sm btn-default pull-right">Edit</a>
|
||||
</td>
|
||||
</tr>
|
||||
}
|
||||
|
||||
@@ -469,20 +469,6 @@ table.branches>thead>tr>th, table.branches>tbody>tr>td{
|
||||
color: #aaa;
|
||||
line-height: 20px;
|
||||
}
|
||||
.branches .branch-action{
|
||||
/*float: right;*/
|
||||
text-align: right;
|
||||
height: 20px;
|
||||
}
|
||||
.branches .branch-action a {
|
||||
font-size: 100%;
|
||||
}
|
||||
.branches .branch-action a.btn {
|
||||
font-size: 100%;
|
||||
position: relative;
|
||||
top: -6px;
|
||||
}
|
||||
|
||||
.branches .branch-a-b-count{
|
||||
color: rgba(0,0,0,0.5);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user