Files should end with a new line
This commit is contained in:
parent
15802b18ea
commit
d5e7bbd80d
198 changed files with 198 additions and 198 deletions
|
@ -19,4 +19,4 @@ function address_type_init() {
|
|||
source: bloodhound,
|
||||
limit: 5
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
|
@ -57,4 +57,4 @@ function new_cadastreLayer() {
|
|||
|
||||
cadastreItems = new L.GeoJSON();
|
||||
cadastreItems.addTo(map);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -57,4 +57,4 @@ function new_qpLayer() {
|
|||
|
||||
qpItems = new L.GeoJSON();
|
||||
qpItems.addTo(map);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -20,4 +20,4 @@ function slideOut_notification_alert (){
|
|||
$("#notification_alert").animate({
|
||||
right: '-250px'
|
||||
}, 200);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
function show_dossier_id_input (){
|
||||
$("#btn_show_dossier_id_input").hide()
|
||||
}
|
||||
}
|
||||
|
|
|
@ -3,4 +3,4 @@
|
|||
padding: 15px;
|
||||
box-shadow: 0 1px 3px rgba(0, 0, 0, .15);
|
||||
border-radius: 2px;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -18,4 +18,4 @@ $default-spacer: 15px;
|
|||
|
||||
.ml-1 {
|
||||
margin-left: $default-spacer;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -15,4 +15,4 @@
|
|||
.tt-menu {
|
||||
width: 300px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#cgu {
|
||||
margin-left: 2em;
|
||||
margin-right: 2em;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -2,4 +2,4 @@
|
|||
width: 300px;
|
||||
margin-left:auto;
|
||||
margin-right:auto;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -30,4 +30,4 @@
|
|||
h4 {
|
||||
text-align: left;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -9,4 +9,4 @@
|
|||
height: 80px;
|
||||
|
||||
border: solid black 1px;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -6,4 +6,4 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -17,4 +17,4 @@
|
|||
.open_pref_list {
|
||||
right: 0 !important;
|
||||
display: block !important;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -9,4 +9,4 @@
|
|||
#titre_procedure {
|
||||
margin-top: 3%;
|
||||
margin-bottom: 2%;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -12,4 +12,4 @@
|
|||
a{
|
||||
color: #c3d9ff;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -3,4 +3,4 @@
|
|||
left: 10px;
|
||||
bottom: 10px;
|
||||
z-index: 300;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -31,4 +31,4 @@
|
|||
color: #fff;
|
||||
background-color: #0097cf;
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -11,4 +11,4 @@
|
|||
li:last-child {
|
||||
border: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -2,4 +2,4 @@ class NotificationsChannel < ApplicationCable::Channel
|
|||
def subscribed
|
||||
stream_from 'notifications'
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -35,4 +35,4 @@ class Admin::AccompagnateursController < AdminController
|
|||
flash.notice = "Assignement effectué"
|
||||
redirect_to admin_procedure_accompagnateurs_path, procedure_id: params[:procedure_id]
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -16,4 +16,4 @@ class Admin::ChangeDossierStateController < AdminController
|
|||
return redirect_to admin_change_dossier_state_path
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -15,4 +15,4 @@ class Admin::PrevisualisationsController < AdminController
|
|||
acc
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -46,4 +46,4 @@ class Admin::TypesDeChampPrivateController < AdminController
|
|||
def create_facade
|
||||
@types_de_champ_facade = AdminTypesDeChampFacades.new true, @procedure
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -56,4 +56,4 @@ class API::V1::DossiersController < APIController
|
|||
nombre_de_page: dossiers.total_pages
|
||||
}
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -19,4 +19,4 @@ class APIController < ApplicationController
|
|||
def default_format_json
|
||||
request.format = "json" unless request.params[:format]
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -4,4 +4,4 @@ class Backoffice::CommentairesController < CommentairesController
|
|||
def is_gestionnaire?
|
||||
true
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -16,4 +16,4 @@ class Backoffice::PrivateFormulairesController < ApplicationController
|
|||
|
||||
render 'backoffice/dossiers/formulaire_private', formats: :js
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -7,4 +7,4 @@ class BackofficeController < ApplicationController
|
|||
redirect_to(:backoffice_dossiers)
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -17,4 +17,4 @@ class Ban::SearchController < ApplicationController
|
|||
|
||||
render json: {lon: lon, lat: lat, zoom: '14', dossier_id: params[:dossier_id]}
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -2,4 +2,4 @@ class CguController < ApplicationController
|
|||
def index
|
||||
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -117,4 +117,4 @@ class FranceConnect::ParticulierController < ApplicationController
|
|||
france_connect_information = FranceConnectInformation.find(params[:fci_id])
|
||||
FranceConnectSaltService.new(france_connect_information).valid? params[:salt]
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
class Users::CommentairesController < CommentairesController
|
||||
before_action :authenticate_user!
|
||||
end
|
||||
end
|
||||
|
|
|
@ -10,4 +10,4 @@ class Users::Dossiers::AddSiretController < ApplicationController
|
|||
flash.alert = t('errors.messages.dossier_not_found')
|
||||
redirect_to url_for users_dossiers_path
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
class Users::Dossiers::CommentairesController < CommentairesController
|
||||
before_action :authenticate_user!
|
||||
end
|
||||
end
|
||||
|
|
|
@ -15,4 +15,4 @@ class Users::Dossiers::InvitesController < UsersController
|
|||
flash.alert = t('errors.messages.dossier_not_found')
|
||||
redirect_to url_for users_dossiers_path
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -29,4 +29,4 @@ class UsersController < ApplicationController
|
|||
flash.alert = message
|
||||
redirect_to url_for root_path
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
class TypeDeChampPrivateDecorator < TypeDeChampDecorator
|
||||
|
||||
end
|
||||
end
|
||||
|
|
|
@ -33,4 +33,4 @@ class TypeDePieceJustificativeDecorator < Draper::Decorator
|
|||
def count_type_de_piece_justificative
|
||||
@count_type_de_piece_justificative ||= procedure.types_de_piece_justificative.count
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -43,4 +43,4 @@ class AdminProceduresShowFacades
|
|||
def dossiers_termine_total
|
||||
dossiers.where(state: :termine).size
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -45,4 +45,4 @@ class AdminTypesDeChampFacades
|
|||
def add_button_id
|
||||
@private ? :add_type_de_champ_private : :add_type_de_champ
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -4,4 +4,4 @@ class InviteDossierFacades < DossierFacades
|
|||
def initialize id, email
|
||||
@dossier = Invite.where(email: email, id: id).first!.dossier
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -71,4 +71,4 @@ class FileSizeValidator < ActiveModel::EachValidator
|
|||
include Singleton
|
||||
include ActionView::Helpers::NumberHelper
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -20,4 +20,4 @@ class SIADE::ExercicesAdapter
|
|||
:dateFinExercice,
|
||||
:date_fin_exercice_timestamp]
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
class AssignTo < ActiveRecord::Base
|
||||
belongs_to :procedure
|
||||
belongs_to :gestionnaire
|
||||
end
|
||||
end
|
||||
|
|
|
@ -28,4 +28,4 @@ class Cerfa < ActiveRecord::Base
|
|||
NotificationService.new('cerfa', self.dossier.id).notify
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -3,4 +3,4 @@ class Follow < ActiveRecord::Base
|
|||
belongs_to :dossier
|
||||
|
||||
validates_uniqueness_of :gestionnaire_id, :scope => :dossier_id
|
||||
end
|
||||
end
|
||||
|
|
|
@ -6,4 +6,4 @@ class FranceConnectInformation < ActiveRecord::Base
|
|||
def self.find_by_france_connect_particulier user_info
|
||||
FranceConnectInformation.find_by(france_connect_particulier_id: user_info[:france_connect_particulier_id])
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -5,4 +5,4 @@ class ProcedurePath < ActiveRecord::Base
|
|||
|
||||
belongs_to :procedure
|
||||
belongs_to :administrateur
|
||||
end
|
||||
end
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
class TypeDeChampPrivate < TypeDeChamp
|
||||
|
||||
end
|
||||
end
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
class TypeDeChampPublic < TypeDeChamp
|
||||
|
||||
end
|
||||
end
|
||||
|
|
|
@ -3,4 +3,4 @@ class CerfaSerializer < ActiveModel::Serializer
|
|||
:content_url
|
||||
|
||||
has_one :user
|
||||
end
|
||||
end
|
||||
|
|
|
@ -2,4 +2,4 @@ class ChampPrivateSerializer < ActiveModel::Serializer
|
|||
attributes :value
|
||||
|
||||
has_one :type_de_champ
|
||||
end
|
||||
end
|
||||
|
|
|
@ -2,4 +2,4 @@ class ChampPublicSerializer < ActiveModel::Serializer
|
|||
attributes :value
|
||||
|
||||
has_one :type_de_champ
|
||||
end
|
||||
end
|
||||
|
|
|
@ -2,4 +2,4 @@ class CommentaireSerializer < ActiveModel::Serializer
|
|||
attributes :email,
|
||||
:body,
|
||||
:created_at
|
||||
end
|
||||
end
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
class DossiersSerializer < ActiveModel::Serializer
|
||||
attributes :id,
|
||||
:updated_at
|
||||
end
|
||||
end
|
||||
|
|
|
@ -11,4 +11,4 @@ class EntrepriseSerializer < ActiveModel::Serializer
|
|||
:date_creation,
|
||||
:nom,
|
||||
:prenom
|
||||
end
|
||||
end
|
||||
|
|
|
@ -2,4 +2,4 @@ class EtablissementCsvSerializer < EtablissementSerializer
|
|||
def adresse
|
||||
object.adresse.chomp.gsub("\r\n", ' ').gsub("\r", '')
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -12,4 +12,4 @@ class EtablissementSerializer < ActiveModel::Serializer
|
|||
:localite,
|
||||
:code_insee_localite
|
||||
|
||||
end
|
||||
end
|
||||
|
|
|
@ -4,4 +4,4 @@ class ModuleApiCartoSerializer < ActiveModel::Serializer
|
|||
:cadastre
|
||||
|
||||
|
||||
end
|
||||
end
|
||||
|
|
|
@ -4,4 +4,4 @@ class PieceJustificativeSerializer < ActiveModel::Serializer
|
|||
:content_url
|
||||
|
||||
has_one :user
|
||||
end
|
||||
end
|
||||
|
|
|
@ -4,4 +4,4 @@ class TypeDeChampSerializer < ActiveModel::Serializer
|
|||
:type_champ,
|
||||
:order_place,
|
||||
:description
|
||||
end
|
||||
end
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
class UserSerializer < ActiveModel::Serializer
|
||||
attributes :email
|
||||
end
|
||||
end
|
||||
|
|
|
@ -22,4 +22,4 @@ class AccompagnateurService
|
|||
|
||||
@accompagnateur.build_default_preferences_list_dossier @procedure.id
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -16,4 +16,4 @@ class BrowserService
|
|||
true
|
||||
end
|
||||
|
||||
end
|
||||
end
|
||||
|
|
|
@ -13,4 +13,4 @@ class ClamavService
|
|||
return false if response.first.class == ClamAV::VirusResponse
|
||||
true
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -53,4 +53,4 @@ class DossierService
|
|||
|
||||
false
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -40,4 +40,4 @@ class DossiersListUserService
|
|||
def termine
|
||||
@termine ||= @current_devise_profil.dossiers.termine
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -14,4 +14,4 @@ class FranceConnectSaltService
|
|||
def salt
|
||||
Digest::MD5.hexdigest(model.france_connect_particulier_id + model.given_name + model.family_name + FRANCE_CONNECT.particulier_secret + DateTime.now.to_date.to_s)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -26,4 +26,4 @@ class GeojsonService
|
|||
|
||||
polygon.to_json
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -2,4 +2,4 @@ class NumberService
|
|||
def self.to_number string
|
||||
string.to_s if Float(string) rescue nil
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -37,4 +37,4 @@ class PiecesJustificativesService
|
|||
|
||||
piece_justificative
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -2,4 +2,4 @@ class PrevisualisationService
|
|||
def self.destroy_all_champs dossier
|
||||
Champ.where(dossier_id: dossier.id, type_de_champ_id: dossier.procedure.types_de_champ.ids).destroy_all
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -22,4 +22,4 @@ class SwitchDeviseProfileService
|
|||
def administrateur_signed_in?
|
||||
!@warden.authenticate(:scope => :administrateur).nil?
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -6,4 +6,4 @@ class UserRoutesAuthorizationService
|
|||
auth[:states].include?(dossier.state.to_sym) &&
|
||||
(auth[:api_carto].nil? ? true : auth[:api_carto] == dossier.procedure.use_api_carto)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -8,4 +8,4 @@ class BaseUploader < CarrierWave::Uploader::Base
|
|||
'/tmp/tps-dev-cache'
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -13,4 +13,4 @@
|
|||
|
||||
%br
|
||||
%br
|
||||
= link_to 'Réaliser un autre dossier', 'change_dossier_state'
|
||||
= link_to 'Réaliser un autre dossier', 'change_dossier_state'
|
||||
|
|
|
@ -14,4 +14,4 @@
|
|||
- Dossier.states.each do |state|
|
||||
%option{value: state[0]}
|
||||
=DossierDecorator.case_state_fr state[1]
|
||||
= f.submit 'Valider'
|
||||
= f.submit 'Valider'
|
||||
|
|
|
@ -14,4 +14,4 @@
|
|||
%a{:href => "#{url_for :admin_procedures_archived}"}
|
||||
%h5{style: 'color: black'}
|
||||
="Archivées"
|
||||
%br
|
||||
%br
|
||||
|
|
|
@ -3,4 +3,4 @@
|
|||
%hr
|
||||
%p
|
||||
API TOKEN :
|
||||
= @administrateur.api_token
|
||||
= @administrateur.api_token
|
||||
|
|
|
@ -26,4 +26,4 @@
|
|||
%br
|
||||
.actions
|
||||
= f.submit "Se connecter", class:'btn btn-primary'
|
||||
%br
|
||||
%br
|
||||
|
|
|
@ -16,4 +16,4 @@
|
|||
%br
|
||||
|
||||
.text-center
|
||||
=link_to 'Deconnexion', '/administrations/sign_out', method: :delete
|
||||
=link_to 'Deconnexion', '/administrations/sign_out', method: :delete
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#backoffice_dossier_show.col-xs-12
|
||||
= render partial: "dossiers/dossier_show"
|
||||
= render partial: "dossiers/dossier_show"
|
||||
|
|
|
@ -171,4 +171,4 @@
|
|||
Conception & Réalisation
|
||||
%p SGMAP
|
||||
%p
|
||||
%p
|
||||
%p
|
||||
|
|
|
@ -12,4 +12,4 @@
|
|||
%p
|
||||
Si vous avez déjà déposé un ou plusieurs dossiers :
|
||||
%a.btn.btn-lg.btn-info{href: new_user_session_path}
|
||||
Accéder à mon espace en ligne.
|
||||
Accéder à mon espace en ligne.
|
||||
|
|
|
@ -24,4 +24,4 @@
|
|||
= smart_listing.paginate
|
||||
= smart_listing.pagination_per_page_links
|
||||
- else
|
||||
%p Aucune procédure trouvée
|
||||
%p Aucune procédure trouvée
|
||||
|
|
|
@ -1 +1 @@
|
|||
= smart_listing_render :procedures
|
||||
= smart_listing_render :procedures
|
||||
|
|
|
@ -1 +1 @@
|
|||
= render partial: 'show'
|
||||
= render partial: 'show'
|
||||
|
|
|
@ -20,4 +20,4 @@
|
|||
= f.password_field :password, class: "form-control", placeholder: "Entrez votre mot de passe"
|
||||
= hidden_field_tag :fci_id, params[:fci_id]
|
||||
= hidden_field_tag :salt, params[:salt]
|
||||
= f.submit 'Terminer', class: %w(btn btn-lg btn-success), style: 'margin-top:20px;', id: 'valid_new_fcp'
|
||||
= f.submit 'Terminer', class: %w(btn btn-lg btn-success), style: 'margin-top:20px;', id: 'valid_new_fcp'
|
||||
|
|
|
@ -29,4 +29,4 @@
|
|||
= f.text_field :email_france_connect, class: "form-control", placeholder: "Entrez votre email"
|
||||
= hidden_field_tag :fci_id, params[:fci_id]
|
||||
= hidden_field_tag :salt, params[:salt]
|
||||
= f.submit 'Terminer', class: %w(btn btn-lg btn-success), style: 'margin-top:20px;', id: 'valid_new_fcp'
|
||||
= f.submit 'Terminer', class: %w(btn btn-lg btn-success), style: 'margin-top:20px;', id: 'valid_new_fcp'
|
||||
|
|
|
@ -28,4 +28,4 @@
|
|||
%br
|
||||
.actions
|
||||
= f.submit "Changer", class:'btn btn-primary'
|
||||
%br
|
||||
%br
|
||||
|
|
|
@ -20,4 +20,4 @@
|
|||
%br
|
||||
.actions
|
||||
= f.submit "Renvoyer", class:'btn btn-primary'
|
||||
%br
|
||||
%br
|
||||
|
|
|
@ -22,4 +22,4 @@
|
|||
= link_to(admin_procedures_path) do
|
||||
%i.fa.fa-user
|
||||
|
||||
Administrateur
|
||||
Administrateur
|
||||
|
|
|
@ -1 +1 @@
|
|||
=render partial: 'layouts/left_panels/left_panel_admin_procedurescontroller_index'
|
||||
=render partial: 'layouts/left_panels/left_panel_admin_procedurescontroller_index'
|
||||
|
|
|
@ -1 +1 @@
|
|||
=render partial: 'layouts/left_panels/left_panel_admin_procedurescontroller_index'
|
||||
=render partial: 'layouts/left_panels/left_panel_admin_procedurescontroller_index'
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
%div
|
||||
Default Left Panel
|
||||
Default Left Panel
|
||||
|
|
|
@ -1 +1 @@
|
|||
= render partial: 'layouts/left_panels/left_panel_users_recapitulatifcontroller_show'
|
||||
= render partial: 'layouts/left_panels/left_panel_users_recapitulatifcontroller_show'
|
||||
|
|
|
@ -4,4 +4,4 @@
|
|||
= text_field_tag('q', "#{@search_terms unless @search_terms.nil? }", id: 'q', placeholder: "Recherchez parmi tous vos dossiers", class:'form-control')
|
||||
%span.input-group-btn
|
||||
%button.btn.btn-default{ id:'search_button' }
|
||||
%i.fa.fa-search
|
||||
%i.fa.fa-search
|
||||
|
|
|
@ -1 +1 @@
|
|||
= yield
|
||||
= yield
|
||||
|
|
|
@ -1 +1 @@
|
|||
= render partial: 'layouts/navbars/navbar_admin_procedurescontroller_index'
|
||||
= render partial: 'layouts/navbars/navbar_admin_procedurescontroller_index'
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue