diff options
Diffstat (limited to 'templates/user/dashboard/milestones.tmpl')
-rw-r--r-- | templates/user/dashboard/milestones.tmpl | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/templates/user/dashboard/milestones.tmpl b/templates/user/dashboard/milestones.tmpl index c551c91e39..385f5c529b 100644 --- a/templates/user/dashboard/milestones.tmpl +++ b/templates/user/dashboard/milestones.tmpl @@ -80,11 +80,14 @@ <div class="milestone list"> {{range .Milestones}} <li class="item"> - <div class="ui label">{{.Repo.FullName}}</div> - {{svg "octicon-milestone"}} <a href="{{.Repo.Link }}/milestone/{{.ID}}">{{.Name}}</a> - <div class="ui right green progress" data-percent="{{.Completeness}}"> - <div class="bar" {{if not .Completeness}}style="background-color: transparent"{{end}}> - <div class="progress"></div> + <div class="df ac sb"> + <h2 class="df ac m-0 fw"> + <span class="ui large label">{{.Repo.FullName}}</span> + {{svg "octicon-milestone" 16 "mr-3"}}<a class="muted" href="{{.Repo.Link}}/milestone/{{.ID}}">{{.Name}}</a> + </h2> + <div class="df ac"> + <span class="mr-3">{{.Completeness}}%</span> + <progress value="{{.Completeness}}" max="100"></progress> </div> </div> <div class="meta"> |