Introduce permanent and customizable procedure url

This commit is contained in:
Guillaume Lazzara 2016-06-24 16:41:44 +02:00
parent b68b62b8f0
commit e5002dbb11
27 changed files with 5164 additions and 49 deletions

View file

@ -3,7 +3,7 @@
%thead
%th#ID= smart_listing.sortable 'ID', 'id'
%th#libelle= smart_listing.sortable 'Libellé', 'libelle'
- unless @draft_class
- if @active_class
%th#lien Lien
%th#created_at= smart_listing.sortable 'Date création', 'created_at'
%th#lien Actions
@ -14,7 +14,7 @@
%td.col-md-1.col-lg-1= procedure.id
%td.col-md-6.col-lg-6
= link_to(procedure.libelle, "/admin/procedures/#{procedure.id}")
- unless @draft_class
- if @active_class
%td= link_to procedure.lien, procedure.lien
%td
= procedure.created_at_fr