diff options
author | mrsdizzie <info@mrsdizzie.com> | 2019-11-07 15:12:23 -0500 |
---|---|---|
committer | Antoine GIRARD <sapk@users.noreply.github.com> | 2019-11-07 21:12:23 +0100 |
commit | b747501337a50b847631efe0041cf2c994f4a7fa (patch) | |
tree | a598b78c49131a9dd02676c4d78639050a2432db /templates/repo/issue | |
parent | 884acf8295500aa5387295bea2dd83b0bf841b9a (diff) | |
download | gitea-b747501337a50b847631efe0041cf2c994f4a7fa.tar.gz gitea-b747501337a50b847631efe0041cf2c994f4a7fa.zip |
Show due date in dashboard issues list (#8860)
* Show due date in dashboard issues list
Include due date when vieiwiing all issues on dashboard (matching what
we show for repo issue lists).
Fixes #8859
* Put in same order as repo issue list
* Add suggested changes and also update repo issue list to match
Diffstat (limited to 'templates/repo/issue')
-rw-r--r-- | templates/repo/issue/list.tmpl | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/templates/repo/issue/list.tmpl b/templates/repo/issue/list.tmpl index d68e6dac26..b4c2d88bfd 100644 --- a/templates/repo/issue/list.tmpl +++ b/templates/repo/issue/list.tmpl @@ -258,8 +258,9 @@ </span> {{end}} {{if ne .DeadlineUnix 0}} - <span class="octicon octicon-calendar"></span> - <span{{if .IsOverdue}} class="overdue"{{end}}>{{.DeadlineUnix.FormatShort}}</span> + <span class="due-date poping up" data-content="{{$.i18n.Tr "repo.issues.due_date"}}" data-variation="tiny inverted" data-position="right center"> + <span class="octicon octicon-calendar"></span><span{{if .IsOverdue}} class="overdue"{{end}}>{{.DeadlineUnix.FormatShort}}</span> + </span> {{end}} {{range .Assignees}} <a class="ui right assignee poping up" href="{{.HomeLink}}" data-content="{{.Name}}" data-variation="inverted" data-position="left center"> |