mirror of
https://github.com/go-gitea/gitea
synced 2024-12-23 09:04:26 +00:00
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
This commit is contained in:
parent
884acf8295
commit
b747501337
@ -818,6 +818,7 @@ i.icon.centerlock{top:1.5em}
|
|||||||
.issue.list>.item .desc .checklist{padding-left:5px}
|
.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{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 .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{margin-left:5px;color:#999!important}
|
||||||
.issue.list>.item .desc a.milestone:hover{color:#000!important}
|
.issue.list>.item .desc a.milestone:hover{color:#000!important}
|
||||||
.issue.list>.item .desc a.ref{margin-left:8px;color:#999!important}
|
.issue.list>.item .desc a.ref{margin-left:8px;color:#999!important}
|
||||||
|
@ -2073,6 +2073,10 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.due-date {
|
||||||
|
padding-left: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
a.milestone {
|
a.milestone {
|
||||||
margin-left: 5px;
|
margin-left: 5px;
|
||||||
color: #999999 !important;
|
color: #999999 !important;
|
||||||
|
@ -258,8 +258,9 @@
|
|||||||
</span>
|
</span>
|
||||||
{{end}}
|
{{end}}
|
||||||
{{if ne .DeadlineUnix 0}}
|
{{if ne .DeadlineUnix 0}}
|
||||||
<span class="octicon octicon-calendar"></span>
|
<span class="due-date poping up" data-content="{{$.i18n.Tr "repo.issues.due_date"}}" data-variation="tiny inverted" data-position="right center">
|
||||||
<span{{if .IsOverdue}} class="overdue"{{end}}>{{.DeadlineUnix.FormatShort}}</span>
|
<span class="octicon octicon-calendar"></span><span{{if .IsOverdue}} class="overdue"{{end}}>{{.DeadlineUnix.FormatShort}}</span>
|
||||||
|
</span>
|
||||||
{{end}}
|
{{end}}
|
||||||
{{range .Assignees}}
|
{{range .Assignees}}
|
||||||
<a class="ui right assignee poping up" href="{{.HomeLink}}" data-content="{{.Name}}" data-variation="inverted" data-position="left center">
|
<a class="ui right assignee poping up" href="{{.HomeLink}}" data-content="{{.Name}}" data-variation="inverted" data-position="left center">
|
||||||
|
@ -126,6 +126,11 @@
|
|||||||
<span class="octicon octicon-checklist"></span> {{$tasksDone}} / {{$tasks}} <span class="progress-bar"><span class="progress" style="width:calc(100% * {{$tasksDone}} / {{$tasks}});"></span></span>
|
<span class="octicon octicon-checklist"></span> {{$tasksDone}} / {{$tasks}} <span class="progress-bar"><span class="progress" style="width:calc(100% * {{$tasksDone}} / {{$tasks}});"></span></span>
|
||||||
</span>
|
</span>
|
||||||
{{end}}
|
{{end}}
|
||||||
|
{{if ne .DeadlineUnix 0}}
|
||||||
|
<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}}
|
||||||
</p>
|
</p>
|
||||||
</li>
|
</li>
|
||||||
{{end}}
|
{{end}}
|
||||||
|
Loading…
Reference in New Issue
Block a user