#first-block
  .en-cours
    %b
      = dossier_count = current_administrateur.procedures.count
    = "Démarche".pluralize(dossier_count)

#action-block

#menu-block
  .split-hr-left
  #procedure-list
    %a#draft-procedures{ :href => "#{url_for :admin_procedures_draft}" }
      .procedure-list-element{ class: @draft_class }
        - if Flipflop.publish_draft?
          En test
        - else
          Brouillons
        .badge.progress-bar-default
          = current_administrateur.procedures.brouillons.count

    %a#active-procedures{ :href => "#{url_for :admin_procedures}" }
      .procedure-list-element{ class: @active_class }
        Publiées
        .badge.progress-bar-success
          = current_administrateur.procedures.publiees.count

    %a#archived-procedures{ :href => "#{url_for :admin_procedures_archived}" }
      .procedure-list-element{ class: @archived_class }
        Archivées
        .badge.progress-bar-purple
          = current_administrateur.procedures.archivees.count

  .split-hr-left


#infos-block

#first-block
  .en-cours
    %b
      = dossier_count = current_administrateur.procedures.count
    = "Démarche".pluralize(dossier_count)

#action-block

#menu-block
  .split-hr-left
  #procedure-list
    %a#draft-procedures{ :href => "#{url_for :admin_procedures_draft}" }
      .procedure-list-element{ class: @draft_class }
        - if Flipflop.publish_draft?
          En test
        - else
          Brouillons
        .badge.progress-bar-default
          = current_administrateur.procedures.brouillons.count

    %a#active-procedures{ :href => "#{url_for :admin_procedures}" }
      .procedure-list-element{ class: @active_class }
        Publiées
        .badge.progress-bar-success
          = current_administrateur.procedures.publiees.count

    %a#archived-procedures{ :href => "#{url_for :admin_procedures_archived}" }
      .procedure-list-element{ class: @archived_class }
        Archivées
        .badge.progress-bar-purple
          = current_administrateur.procedures.archivees.count

  .split-hr-left
  = render partial: 'layouts/switch_devise_profile_module'


#infos-block

Add switch account type layout
Add switch account type layout

Signed-off-by: Chaïb Martinez <9bad01bef23a5c5c9a5d48892366c8844a5239fd@gmail.com>
