Feature #21757 » feature-21757.diff
app/views/issues/show.api.rsb (working copy) | ||
---|---|---|
17 | 17 |
api.done_ratio @issue.done_ratio |
18 | 18 |
api.is_private @issue.is_private |
19 | 19 |
api.estimated_hours @issue.estimated_hours |
20 |
api.spent_hours(@issue.spent_hours) if User.current.allowed_to?(:view_time_entries, @project) |
|
20 |
api.total_estimated_hours @issue.total_estimated_hours |
|
21 |
if User.current.allowed_to?(:view_time_entries, @project) |
|
22 |
api.spent_hours(@issue.spent_hours) |
|
23 |
api.total_spent_hours(@issue.total_spent_hours) |
|
24 |
end |
|
21 | 25 | |
22 | 26 |
render_api_custom_values @issue.visible_custom_field_values, api |
23 | 27 |