.qi_row.i_task_row#i_task{:id => i_task.id}
  .qi_pannel.qi_plain.padding
    %table.table

      %tr
        %td{:style => "width:20px;"}
          -if i_task.done
            =link_to admin_i_task_path(:id => i_task.id, :i_task => {:done => false}), :remote => true, :method => :put do
              .done
                =ic :check
          -else
            =link_to admin_i_task_path(:id => i_task.id, :i_task => {:done => true}), :remote => true, :method => :put do
              .undone
                =ic :check
    


        %td= i_task.name
        %td{:style => "width:200px;"}
          = i_task.i_website.name if i_task.i_website
          %br
          = i_task.p_customer.show_name if i_task.p_customer
        %td{:style => "width:100px;"}
          -if i_task.minutes
            = i_task.minutes
            min

 
  

        %td.actions{:style => "width:120px;"}
          = link_to i(:"trash-o"), [:admin, i_task], method: :delete, data: { confirm: 'Voulez-vous vraiment supprimer cette tache ? ' } , :remote => true
          = link_to i(:pencil), edit_admin_i_task_path(i_task), :remote => true
          = link_to i(:eye), admin_i_task_path(i_task)
    

:scss
  .done,.undone{
    font-size:2em;
    
  }
  .done{
    color:green;
  }
  
  .undone{
    color:rgba(0,0,0,0.2);
  }
  
  .i_task_row{
    margin:5px 0;
    padding:5px 0;
    
    .qi_pannel.padding{
      padding:10px;
      
      
    }
    td{
      border:0 !important;
      border:0 !important;
      vertical-align: middle !important;
    }
    
    table{
      margin:0;
    }
    
  }
  
  
  