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

13 lines
616 B
Plaintext

-set_meta_tags title: t("home.#{action_name}.title")
-render 'top_menu'
-content_for :sidebar do
=form_tag send("#{action_name}_path"), id: 'filter_issues', method: :get do
.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'}
%td.width135=t("layout.#{action_name}.#{filter}")
%td.width30.right=instance_variable_get("@#{filter}_issues").not_closed_or_merged.count
=render 'projects/issues/issues_table', issues: @issues