Redmine-Jobs/app/views/jobs/_budget.html.erb

12 lines
347 B
Plaintext
Raw Normal View History

2023-11-24 16:51:15 +00:00
<div class="label"><%= budget.activity&.name || "Unassigned" %></div>
<div class="value">
<%= l_hours_short(
budget.job.total_time_logged_for(budget.activity)
) %> /
<%= l_hours_short(
budget.hours
) %>
<progress max="<%= budget %>"
value="<%= budget.job.total_time_logged_for(budget.activity) %>"></progress>
</div>