[issue #590] Fixed BuildList started check (thnx 2 @alexander-machehin)

This commit is contained in:
George Vinogradov 2012-08-14 18:57:25 +04:00
parent 0d06f73917
commit 5a4c7a8e37
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@
- if BuildList::HUMAN_STATUSES[build_list.status].in? [:build_pending, :build_started, :build_publish]
%time.js-relative-date{:datetime => build_list.updated_at.strftime("%FT%T%:z"), :title => build_list.updated_at.strftime("%F %T")}
= build_list.updated_at.strftime "%F %T"
- if (BuildList::HUMAN_STATUSES[build_list.status] == :build_started) && ((build_list.project.average_build_time || 0) > 0)
- if build_list.build_started? && ((build_list.project.average_build_time || 0) > 0)
\/
%time
= build_list.project.formatted_average_build_time