2011-04-07 14:20:21 +01:00
|
|
|
.block
|
2011-10-22 16:28:41 +01:00
|
|
|
- if controller.action_name != 'all'
|
|
|
|
.secondary-navigation
|
|
|
|
%ul.wat-cf
|
2011-10-23 07:49:56 +01:00
|
|
|
%li.first= link_to t("layout.build_lists.current"), project_path(@project) + "#build_lists"
|
|
|
|
%li.active= link_to t("layout.build_lists.all"), project_build_lists_path(@project)
|
2011-04-07 14:20:21 +01:00
|
|
|
|
|
|
|
.content
|
2011-10-29 14:38:01 +01:00
|
|
|
- if controller.action_name == 'all'
|
|
|
|
.inner
|
|
|
|
%h2= t('layout.build_lists.build_server_status.header')
|
|
|
|
.field
|
|
|
|
%span= t('layout.build_lists.build_server_status.client_count') + ":"
|
2011-10-30 14:10:42 +00:00
|
|
|
%span= @build_server_status['client_count']
|
2011-10-29 14:38:01 +01:00
|
|
|
.field
|
|
|
|
%span= t('layout.build_lists.build_server_status.count_new_task') + ":"
|
2011-10-30 14:10:42 +00:00
|
|
|
%span= @build_server_status['count_new_task']
|
2011-10-29 14:38:01 +01:00
|
|
|
.field
|
|
|
|
%span= t('layout.build_lists.build_server_status.count_build_task') + ":"
|
2011-10-30 14:10:42 +00:00
|
|
|
%span= @build_server_status['count_build_task']
|
2011-10-29 14:38:01 +01:00
|
|
|
|
2011-04-07 14:20:21 +01:00
|
|
|
.inner
|
2011-10-22 16:28:41 +01:00
|
|
|
= render :partial => "build_lists/filter", :action_url => @action_url
|
2011-04-07 14:20:21 +01:00
|
|
|
|
|
|
|
.inner
|
|
|
|
= render :partial => "build_lists/build_lists", :object => @build_lists
|
|
|
|
|
2011-10-22 16:28:41 +01:00
|
|
|
- content_for :sidebar, render(:partial => 'sidebar') if controller.action_name != 'all'
|