negos_app/app/views/admin/needs/index.html.haml
2015-12-02 23:14:09 +01:00

52 lines
987 B
Plaintext

%h1 Gestion des besoins
-if @needs_to_validate.length > 0
%h2 Modération des besoins
%div.alert.alert-info
Avant qu'un besoin soit visible par l'ensemble des clients, vous devez le valider en cliquant sur le bouton <i class="fa fa-check"></i>
%br
Si pour une raison ou pour une autre le besoin ne respecte pas la charte, cliquez sur le bouton <i class="fa fa-remove"></i>
%table.table.admin_table.table-hover.table-striped
%thead.rows_header
%tr
%td
Titre
%td
Émetteur
%td
Créé
%td{:style => "width:100px"}
&nbsp;
%tbody.rows
=render @needs_to_validate
%h2 Liste des besoins
%table.table.admin_table.table-hover.table-striped
%thead.rows_header
%tr
%td
Titre
%td
Émetteur
%td
Créé
%td{:style => "width:100px"}
&nbsp;
%tbody.rows
=render @needs
.pagination.pull-right= paginate @needs