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

13 lines
616 B
Plaintext
Raw Normal View History

2014-01-21 04:51:49 +00:00
-set_meta_tags title: t("home.#{action_name}.title")
-render 'top_menu'
2013-04-29 19:13:45 +01:00
-content_for :sidebar do
2014-01-21 04:51:49 +00: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
2014-01-21 04:51:49 +00:00
%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
2014-01-21 04:51:49 +00:00
=render 'projects/issues/issues_table', issues: @issues