mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-12-24 01:09:55 +01:00
Show progress bar if milestone is selected in issue search condition.
This commit is contained in:
@@ -48,6 +48,14 @@
|
||||
}
|
||||
</ul>
|
||||
</div>
|
||||
@if(condition.milestoneId.isDefined){
|
||||
<div class="milestone-progress" style="margin-top: 8px;">
|
||||
@if(closedCount > 0){
|
||||
<span class="milestone-progress" style="width: @((closedCount.toDouble / (openCount + closedCount).toDouble * 100).toInt)%;"></span>
|
||||
}
|
||||
</div>
|
||||
<span class="description small">@openCount open issues</span>
|
||||
}
|
||||
<hr/>
|
||||
<strong>Labels</strong>
|
||||
<div>
|
||||
|
||||
Reference in New Issue
Block a user