diff --git a/public/css/index.css b/public/css/index.css index f7eb02b29..3ec47eb85 100644 --- a/public/css/index.css +++ b/public/css/index.css @@ -818,6 +818,7 @@ i.icon.centerlock{top:1.5em} .issue.list>.item .desc .checklist{padding-left:5px} .issue.list>.item .desc .checklist .progress-bar{margin-left:2px;width:80px;height:6px;display:inline-block;background-color:#eee;overflow:hidden;border-radius:3px;vertical-align:2px!important} .issue.list>.item .desc .checklist .progress-bar .progress{background-color:#ccc;display:block;height:100%} +.issue.list>.item .desc .due-date{padding-left:5px} .issue.list>.item .desc a.milestone{margin-left:5px;color:#999!important} .issue.list>.item .desc a.milestone:hover{color:#000!important} .issue.list>.item .desc a.ref{margin-left:8px;color:#999!important} diff --git a/public/less/_repository.less b/public/less/_repository.less index d585eb03a..84d59bbe9 100644 --- a/public/less/_repository.less +++ b/public/less/_repository.less @@ -2073,6 +2073,10 @@ } } + .due-date { + padding-left: 5px; + } + a.milestone { margin-left: 5px; color: #999999 !important; diff --git a/templates/repo/issue/list.tmpl b/templates/repo/issue/list.tmpl index d68e6dac2..b4c2d88bf 100644 --- a/templates/repo/issue/list.tmpl +++ b/templates/repo/issue/list.tmpl @@ -258,8 +258,9 @@ {{end}} {{if ne .DeadlineUnix 0}} - - {{.DeadlineUnix.FormatShort}} + + {{.DeadlineUnix.FormatShort}} + {{end}} {{range .Assignees}} diff --git a/templates/user/dashboard/issues.tmpl b/templates/user/dashboard/issues.tmpl index ac5f10a59..5418c6de4 100644 --- a/templates/user/dashboard/issues.tmpl +++ b/templates/user/dashboard/issues.tmpl @@ -126,6 +126,11 @@ {{$tasksDone}} / {{$tasks}} {{end}} + {{if ne .DeadlineUnix 0}} + + {{.DeadlineUnix.FormatShort}} + + {{end}}

{{end}}