2013-05-16 10:31:10 +01:00
|
|
|
-set_meta_tags :title => t("home.#{action_name}.title")
|
2013-05-15 18:28:39 +01:00
|
|
|
-render 'top_menu'
|
2013-04-29 19:13:45 +01:00
|
|
|
-content_for :sidebar do
|
2013-05-13 18:15:23 +01:00
|
|
|
=form_tag send("#{action_name}_path"), :id => 'filter_issues', :method => :get do
|
2013-04-29 19:13:45 +01:00
|
|
|
.bordered
|
|
|
|
%table
|
|
|
|
-%w[all assigned created].each do |filter|
|
|
|
|
%tr
|
|
|
|
%td.width18=radio_button_tag :myradio, filter, filter == @filter, {:id => 'myradio1', :class => 'niceRadio', :name => 'filter'}
|
2013-05-14 09:55:23 +01:00
|
|
|
%td.width135=t("layout.#{action_name}.#{filter}")
|
2013-05-16 10:52:16 +01:00
|
|
|
%td.width30.right=instance_variable_get("@#{filter}_issues").not_closed_or_merged.count
|
2013-04-29 19:13:45 +01:00
|
|
|
=render 'projects/issues/issues_table', :issues => @issues
|