diff --git a/app/views/admin/procedures/_onglets.html.haml b/app/views/admin/procedures/_onglets.html.haml index 2caac8f1c..c6a98171e 100644 --- a/app/views/admin/procedures/_onglets.html.haml +++ b/app/views/admin/procedures/_onglets.html.haml @@ -3,15 +3,15 @@ %li{class: @draft_class} %a{:href => "#{url_for :admin_procedures_draft}"} %h5.text-primary - = "Brouillons" + Brouillons %li{class: @active_class} %a{:href => "#{url_for :admin_procedures}"} %h5.text-success - = "Actives" + Actives %li{class: @archived_class} %a{:href => "#{url_for :admin_procedures_archived}"} %h5{style: 'color: black'} - = "Archivées" + Archivées %br diff --git a/app/views/admin/procedures/show.html.haml b/app/views/admin/procedures/show.html.haml index e08f0a40e..38297849c 100644 --- a/app/views/admin/procedures/show.html.haml +++ b/app/views/admin/procedures/show.html.haml @@ -29,7 +29,7 @@ = form_tag admin_procedure_archive_path(procedure_id: @facade.procedure.id, archive: !@facade.procedure.archived?), method: :put, style:'float: right; margin-top: 10px' do %button#archive.btn.btn-small.btn-default.text-info{type: :button} %i.fa.fa-eraser - = 'Archiver' + Archiver #confirm %button#valid.btn.btn-small.btn-success{type: :submit} %i.fa.fa-check diff --git a/app/views/dossiers/_dossier_show.html.haml b/app/views/dossiers/_dossier_show.html.haml index a450fe7d0..5b0114a97 100644 --- a/app/views/dossiers/_dossier_show.html.haml +++ b/app/views/dossiers/_dossier_show.html.haml @@ -10,7 +10,7 @@ - if !@current_gestionnaire && ["draft", "updated", "replied", "initiated"].include?(@facade.dossier.state) %a#add_siret.action{href: users_dossier_add_siret_path(dossier_id: @facade.dossier.id)} .col-lg-4.col-md-4.col-sm-4.col-xs-4.action - = "Renseigner un SIRET" + Renseigner un SIRET - unless @facade.entreprise.nil? .default_data_block diff --git a/app/views/dossiers/_infos_dossier.html.haml b/app/views/dossiers/_infos_dossier.html.haml index 96524e556..bd7e90fe8 100644 --- a/app/views/dossiers/_infos_dossier.html.haml +++ b/app/views/dossiers/_infos_dossier.html.haml @@ -43,10 +43,10 @@ - if @facade.dossier.mandataire_social && gestionnaire_signed_in? .mandataire_social.text-success.center %br - = "Il est probable que le soumissionnaire du dossier soit un des mandataire social de l'entreprise (" + Il est probable que le soumissionnaire du dossier soit un des mandataire social de l'entreprise ( %b = "#{@facade.dossier.user.given_name} #{@facade.dossier.user.family_name}" - = ")" + ) .row - if @facade.procedure.cerfa_flag? || @facade.dossier.types_de_piece_justificative.count > 0 .col-xs-12 @@ -70,7 +70,7 @@ = link_to "", class: "historique", "data-toggle" => "modal", "data-target" => "#PJmodal", :type => "button", "data-modal_title" => 'formulaires', "data-modal_index" => 'cerfa' do %span.fa.fa-clock-o - else - = 'Pièce non fournie' + Pièce non fournie .row .col-xs-12 - @facade.types_de_pieces_justificatives.each do |type_de_piece_justificative| @@ -90,7 +90,7 @@ = link_to "", class: "historique", "data-toggle" => "modal", "data-target" => "#PJmodal", :type => "button", "data-modal_title" => 'formulaires', "data-modal_index" => "type_de_pj_#{type_de_piece_justificative.id}" do %span.fa.fa-clock-o - else - = 'Pièce non fournie' + Pièce non fournie - unless @facade.dossier.read_only? - if user_signed_in? && (@facade.dossier.owner?(current_user.email) || @facade.dossier.invite_by_user?(current_user.email)) diff --git a/app/views/dossiers/_pieces_justificatives.html.haml b/app/views/dossiers/_pieces_justificatives.html.haml index a9fff2bc7..a3ca7abbf 100644 --- a/app/views/dossiers/_pieces_justificatives.html.haml +++ b/app/views/dossiers/_pieces_justificatives.html.haml @@ -3,7 +3,7 @@ - if @facade.procedure.cerfa_flag? %tr{id: "piece_justificative_0"} %th.col-lg-6 - = 'Formulaire' + Formulaire %td.col-lg-6.col-md-6.col-sm-6.col-xs-6 - if @facade.dossier.cerfa_available? %a{ href: "#{@facade.dossier.cerfa.last.content_url}", target: '_blank' } Consulter @@ -16,7 +16,7 @@ "data-modal_title" => 'formulaires', "data-modal_index" => 'cerfa'} - else - = 'Pièce non fournie' + Pièce non fournie - @facade.dossier.types_de_piece_justificative.order('order_place ASC').each do |type_de_piece_justificative| %tr{ id: "piece_justificative_#{type_de_piece_justificative.id}" } diff --git a/app/views/layouts/left_panels/_left_panel_admin_procedurescontroller_index.html.haml b/app/views/layouts/left_panels/_left_panel_admin_procedurescontroller_index.html.haml index e4ead8b06..56a78b41b 100644 --- a/app/views/layouts/left_panels/_left_panel_admin_procedurescontroller_index.html.haml +++ b/app/views/layouts/left_panels/_left_panel_admin_procedurescontroller_index.html.haml @@ -11,19 +11,19 @@ #procedure_list %a{:href => "#{url_for :admin_procedures_draft}", id: "draft-procedures"} .procedure_list_element{class: @draft_class} - = "Brouillons" + Brouillons .badge.progress-bar-default = current_administrateur.procedures.where(published: false, archived: false).count %a{:href => "#{url_for :admin_procedures}", id: "active-procedures"} .procedure_list_element{class: @active_class} - = "Actives" + Actives .badge.progress-bar-success = current_administrateur.procedures.where(published: true, archived: false).count %a{:href => "#{url_for :admin_procedures_archived}", id: "archived-procedures"} .procedure_list_element{class: @archived_class} - = "Archivées" + Archivées .badge.progress-bar-purple = current_administrateur.procedures.where(archived: true).count diff --git a/app/views/layouts/left_panels/_left_panel_backoffice_dossierscontroller_index.html.haml b/app/views/layouts/left_panels/_left_panel_backoffice_dossierscontroller_index.html.haml index 655df11e6..2fe33c8b6 100644 --- a/app/views/layouts/left_panels/_left_panel_backoffice_dossierscontroller_index.html.haml +++ b/app/views/layouts/left_panels/_left_panel_backoffice_dossierscontroller_index.html.haml @@ -1,13 +1,13 @@ %div#first-block .dossiers-en-cours .count= @facade_data_view.total_dossier_follow - .text= "SUIVIS" + .text SUIVIS .nouveaux-dossiers .count= @facade_data_view.total_new_dossier - .text= "NOUVEAUX" + .text NOUVEAUX .nouvelles-notifications .count= @facade_data_view.dossiers_with_unread_notifications.count - .text= "MODIFIÉS" + .text MODIFIÉS %div#action-block @@ -34,7 +34,7 @@ = procedure[:unread_notifications] #notifications_list.hidden - if @facade_data_view.dossiers_with_unread_notifications.empty? - .no-notification= "Aucune notification pour le moment." + .no-notification Aucune notification pour le moment. - else - @facade_data_view.dossiers_with_unread_notifications.each do |dossier| = link_to backoffice_dossier_path(dossier.id) do diff --git a/app/views/layouts/left_panels/_left_panel_users_dossierscontroller_index.html.haml b/app/views/layouts/left_panels/_left_panel_users_dossierscontroller_index.html.haml index 09e5853d5..1ea72eaea 100644 --- a/app/views/layouts/left_panels/_left_panel_users_dossierscontroller_index.html.haml +++ b/app/views/layouts/left_panels/_left_panel_users_dossierscontroller_index.html.haml @@ -3,7 +3,7 @@ = dossier_count = current_user.dossiers.count = ("Dossier".pluralize(dossier_count)).upcase %br - = "EN COURS" + EN COURS %div#action-block @@ -13,31 +13,31 @@ - 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.'} .procedure_list_element{ class: @dossiers_list_facade.brouillon_class, id: 'brouillon' } - = "Brouillons" + Brouillons .badge.progress-bar-default = @dossiers_list_facade.brouillon_total %a{:href => "#{url_for users_dossiers_path(liste: 'a_traiter')}", 'data-toggle' => :tooltip, title: 'Les dossiers qui requièrent une action de votre part.'} .procedure_list_element{ class: @dossiers_list_facade.en_construction_class, id: 'a_traiter' } - = "En construction" + En construction .badge.progress-bar-danger = @dossiers_list_facade.en_construction_total %a{:href => "#{url_for users_dossiers_path(liste: 'en_instruction')}", 'data-toggle' => :tooltip, title: 'Les dossiers en cours d\'examen par l\'administration compétante.'} .procedure_list_element{ class: @dossiers_list_facade.en_instruction_class, id: 'en_instruction' } - = "En instruction" + En instruction .badge.progress-bar-default = @dossiers_list_facade.en_instruction_total %a{:href => "#{url_for users_dossiers_path(liste: 'termine')}", 'data-toggle' => :tooltip, title: 'Les dossiers cloturés qui peuvent être "Accepté", "Refusé" ou "Sans suite".'} .procedure_list_element{ class: @dossiers_list_facade.termine_class, id: 'termine' } - = "Terminé" + Terminé .badge.progress-bar-success = @dossiers_list_facade.termine_total %a{:href => "#{url_for users_dossiers_path(liste: 'invite')}"} .procedure_list_element{ class: @dossiers_list_facade.invite_class, id: 'invite' } - = "Invitation" + Invitation .badge.progress-bar-warning = @dossiers_list_facade.invite_total .split-hr-left diff --git a/app/views/users/carte/show.html.haml b/app/views/users/carte/show.html.haml index 860a44b03..f38b09327 100644 --- a/app/views/users/carte/show.html.haml +++ b/app/views/users/carte/show.html.haml @@ -1,7 +1,7 @@ .row#carto_page .col-lg-12.col-md-12.col-sm-12.col-xs-12 %h2 - = 'Localisation' + Localisation %h4.text-primary Positionnez-vous et dessinez sur la carte la zone d'action de votre demande. %br