Git with a cup of tea, painless self-hosted git service Mirror for internal git.with.parts use https://git.with.parts
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
gitea/templates/org/worktime/table_milestones.tmpl

28 lines
721 B

<table class="ui table">
<thead>
<tr>
<th>{{ctx.Locale.Tr "repository"}}</th>
<th>{{ctx.Locale.Tr "repo.milestone"}}</th>
<th>{{ctx.Locale.Tr "org.worktime.time"}}</th>
</tr>
</thead>
<tbody>
{{range $.WorktimeSumResult}}
<tr>
<td>
{{if not .HideRepoName}}
{{svg "octicon-repo"}} <a href="{{$.Org.HomeLink}}/{{PathEscape .RepoName}}/issues">{{.RepoName}}</a>
{{end}}
</td>
<td>
{{if .MilestoneName}}
{{svg "octicon-milestone"}} <a href="{{$.Org.HomeLink}}/{{PathEscape .RepoName}}/milestone/{{.MilestoneID}}">{{.MilestoneName}}</a>
{{else}}
-
{{end}}
</td>
<td>{{svg "octicon-clock"}} {{.SumTime | Sec2Hour}}</td>
</tr>
{{end}}
</tbody>
</table>