rosa-build/app/views/home/issues.html.haml

13 lines
637 B
Plaintext
Raw Normal View History

-set_meta_tags :title => t("home.#{action_name}.title")
-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}")
%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