.widget header> h5 ' Lista de span.fw-semi-bold Projetos Básicos .widget-body - if @projetos.empty? h6 Nenhum registro encontrado. - else .table-responsive table.table.table-hover.font-small thead tr th width="90" Data do Projeto th width="90" Número th Unidade Gestora th Modalidade th width="140" Valor Estimado th Objeto th Status th width="140" tbody - @projetos.each do |projeto| tr td = projeto.data_do_projeto.to_date td = projeto.pedido.try(:numero) td = projeto.pedido.unidade_orcamentaria.unidade_gestora.try(:codigo_e_nome) td = projeto.try(:modalidade_do_processo_e_modalidade_de_licitacao) td b = projeto.valor_estimado_global.try(:real_contabil) td.text-center style=("width: 5%") span.fa.fa-question-circle data-toggle="tooltip" data-placement="bottom" title="#{projeto.pedido.try(:objeto)}" td = projeto.localizar :status td = link_to projeto, class: "btn btn-default btn-sm mb-xs", title: "Ver Detalhes" do i.icone-detalhar - if (projeto.pode_editar? && projeto.pedido.verifica_acesso_do_usuario_principal(current_usuario)) || Configuracao.last.implantacao? = botao_com_permissao edit_licitacao_projeto_path(projeto), {acao: :update}, { \ class_icone:'icone-editar', params: {class: 'btn btn-default btn-sm mb-xs', title: "Editar"}, } - if projeto.pode_deletar? && projeto.pedido.verifica_acesso_do_usuario_principal(current_usuario) = botao_com_permissao projeto, {acao: :destroy}, { \ class_icone:'icone-excluir', params: { \ method: :delete, data: { confirm: 'Tem certeza?' }, class: 'btn btn-default btn-sm mb-xs', title: "Apagar", }, } = will_paginate @projetos, :params => { @action_projetos => true }, previous_label: "<", next_label: ">"