mirror of
https://github.com/go-gitea/gitea.git
synced 2024-08-25 21:44:20 -04:00
TODOs: - [x] write test for `GetIssueTotalTrackedTime` - [x] frontport kitharas template changes and make them mobile-friendly --- ![image](https://github.com/go-gitea/gitea/assets/24977596/6713da97-201f-4217-8588-4c4cec157171) ![image](https://github.com/go-gitea/gitea/assets/24977596/3a45aba8-26b5-4e6a-b97d-68bfc2bf9024) --- *Sponsored by Kithara Software GmbH*
27 lines
900 B
Handlebars
27 lines
900 B
Handlebars
<div id="issue-filters" class="issue-list-toolbar">
|
|
<div class="issue-list-toolbar-left">
|
|
{{if and ($.CanWriteIssuesOrPulls) (gt (len .Issues) 0)}}
|
|
<input type="checkbox" autocomplete="off" class="issue-checkbox-all gt-mr-4" title="{{ctx.Locale.Tr "repo.issues.action_check_all"}}">
|
|
{{end}}
|
|
{{template "repo/issue/openclose" .}}
|
|
<!-- Total Tracked Time -->
|
|
{{if .TotalTrackedTime}}
|
|
<div class="ui compact tiny secondary menu">
|
|
<span class="item" data-tooltip-content='{{ctx.Locale.Tr "tracked_time_summary"}}'>
|
|
{{svg "octicon-clock"}}
|
|
{{.TotalTrackedTime | Sec2Time}}
|
|
</span>
|
|
</div>
|
|
{{end}}
|
|
</div>
|
|
<div class="issue-list-toolbar-right">
|
|
<div class="ui secondary filter menu labels">
|
|
{{if .PageIsMilestones}}
|
|
{{template "repo/issue/milestone/filter_list" .}}
|
|
{{else}}
|
|
{{template "repo/issue/filter_list" .}}
|
|
{{end}}
|
|
</div>
|
|
</div>
|
|
</div>
|