Commit b26d21ea authored by Lee Tickett's avatar Lee Tickett Committed by Kushal Pandya

Show estimate on issues list

parent b179911c
...@@ -754,7 +754,8 @@ ...@@ -754,7 +754,8 @@
margin-right: 10px; margin-right: 10px;
min-width: 0; min-width: 0;
.issue-weight-icon { .issue-weight-icon,
.issue-estimate-icon {
vertical-align: sub; vertical-align: sub;
} }
} }
......
...@@ -43,6 +43,7 @@ ...@@ -43,6 +43,7 @@
= link_to_label(label, small: true) = link_to_label(label, small: true)
= render_if_exists "projects/issues/issue_weight", issue: issue = render_if_exists "projects/issues/issue_weight", issue: issue
= render "projects/issues/issue_estimate", issue: issue
.issuable-meta .issuable-meta
%ul.controls %ul.controls
......
- issue = local_assigns.fetch(:issue)
- if issue.time_estimate > 0
%span.issuable-estimate.d-none.d-sm-inline-block.has-tooltip{ data: { container: 'body', qa_selector: 'issuable_estimate' }, title: _('Estimate') }
 
= sprite_icon('timer', size: 16, css_class: 'issue-estimate-icon')
= Gitlab::TimeTrackingFormatter.output(issue.time_estimate)
---
title: Show estimate on issues list
merge_request: 28271
author: Lee Tickett
type: added
...@@ -8781,6 +8781,9 @@ msgstr "" ...@@ -8781,6 +8781,9 @@ msgstr ""
msgid "Errors:" msgid "Errors:"
msgstr "" msgstr ""
msgid "Estimate"
msgstr ""
msgid "Estimated" msgid "Estimated"
msgstr "" msgstr ""
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment