Mask section left panel is user does not have any dossier

This commit is contained in:
Xavier J 2017-01-11 15:22:24 +01:00
parent a6b10ba2df
commit 6612e56da2

View file

@ -10,6 +10,7 @@
%div#menu-block
%div.split-hr-left
#procedure_list
- unless current_user.dossiers.count == 0
%a{:href => "#{url_for users_dossiers_path(liste: 'brouillon')}", 'data-toggle' => :tooltip, title: 'Les dossiers jamais proposés à la relecture.'}
%div.procedure_list_element{ class: @dossiers_list_facade.brouillon_class, id: 'brouillon' }
= "Brouillons"