Add a message to the démarches library page if the admin has 0 demarches
This commit is contained in:
parent
c19b1bb6cf
commit
e88a3f8dbf
1 changed files with 4 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
|||
- if current_administrateur.procedures.brouillons.count == 0
|
||||
%h4{ style: 'padding: 20px; margin: 20px !important;' }
|
||||
Bienvenue, vous allez pouvoir créer une première démarche de test. Celle-ci sera visible uniquement par vous et ne sera publiée nulle part, alors pas de crainte à avoir.
|
||||
|
||||
.row{ style: 'padding: 20px; margin: 20px !important;' }
|
||||
%a#from-scratch{ href: new_admin_procedure_path, class: 'btn-lg btn-primary' }
|
||||
Créer une nouvelle démarche de zéro
|
||||
|
|
Loading…
Add table
Reference in a new issue