Skip to content

Commit

Permalink
Show due date in dashboard issues list
Browse files Browse the repository at this point in the history
Include due date when vieiwiing all issues on dashboard (matching what
we show for repo issue lists).

Fixes go-gitea#8859
  • Loading branch information
mrsdizzie committed Nov 6, 2019
1 parent 022d2d8 commit 7d52de8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions templates/user/dashboard/issues.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,10 @@
<span class="octicon octicon-milestone"></span> {{.Milestone.Name}}
</a>
{{end}}
{{if ne .DeadlineUnix 0}}
<span class="octicon octicon-calendar"></span>
<span{{if .IsOverdue}} class="overdue"{{end}}>{{.DeadlineUnix.FormatShort}}</span>
{{end}}
{{if .Ref}}
<a class="ref" href="{{AppSubUrl}}/{{.Repo.Owner.Name}}/{{.Repo.Name}}/src/branch/{{.Ref}}">
<span class="octicon octicon-git-branch"></span> {{.Ref}}
Expand Down

0 comments on commit 7d52de8

Please sign in to comment.