mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-11 07:55:55 +01:00
(refs #1312)Fix badge position on the side menu
This commit is contained in:
@@ -9,11 +9,11 @@
|
|||||||
<li @if(active == name){class="active"}>
|
<li @if(active == name){class="active"}>
|
||||||
@if(path.startsWith("http")){
|
@if(path.startsWith("http")){
|
||||||
<a href="@path" target="_blank">
|
<a href="@path" target="_blank">
|
||||||
<i class="menu-icon octicon octicon-@icon"></i> @label @if(count > 0) { <span class="label label-primary pull-right">@count</span> }
|
<i class="menu-icon octicon octicon-@icon"></i> @label @if(count > 0) { <span class="label label-primary pull-right-container">@count</span> }
|
||||||
</a>
|
</a>
|
||||||
} else {
|
} else {
|
||||||
<a href="@helpers.url(repository)@path">
|
<a href="@helpers.url(repository)@path">
|
||||||
<i class="menu-icon octicon octicon-@icon"></i> @label @if(count > 0) { <span class="label label-primary pull-right">@count</span> }
|
<i class="menu-icon octicon octicon-@icon"></i> @label @if(count > 0) { <span class="label label-primary pull-right-container">@count</span> }
|
||||||
</a>
|
</a>
|
||||||
}
|
}
|
||||||
</li>
|
</li>
|
||||||
|
|||||||
Reference in New Issue
Block a user