Merge pull request #2659 from betagouv/fix-1511
Remplace l'ancien logo DS par une Marianne
This commit is contained in:
commit
a8bcc19044
15 changed files with 4 additions and 27 deletions
Binary file not shown.
Before Width: | Height: | Size: 9.7 KiB |
1
app/assets/images/marianne.svg
Normal file
1
app/assets/images/marianne.svg
Normal file
File diff suppressed because one or more lines are too long
After Width: | Height: | Size: 32 KiB |
Binary file not shown.
Before Width: | Height: | Size: 4.7 KiB |
|
@ -13,7 +13,7 @@ class ProcedureDecorator < Draper::Decorator
|
|||
|
||||
def logo_img
|
||||
if logo.blank?
|
||||
h.image_url(LOGO_NAME)
|
||||
h.image_url("marianne.svg")
|
||||
else
|
||||
if Flipflop.remote_storage?
|
||||
(RemoteDownloader.new logo.filename).url
|
||||
|
|
|
@ -1,7 +1,4 @@
|
|||
#form-login
|
||||
%br
|
||||
= image_tag(image_url(LOGO_NAME))
|
||||
%br
|
||||
%h2#login_admin
|
||||
= t('dynamics.admin.connexion_title')
|
||||
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
= devise_error_messages!
|
||||
|
||||
#form-login
|
||||
= image_tag(image_url(LOGO_NAME))
|
||||
%br
|
||||
%h2#gestionnaire_login Changement de mot de passe
|
||||
|
||||
%br
|
||||
|
|
|
@ -2,8 +2,6 @@
|
|||
|
||||
%br
|
||||
#form-login
|
||||
= image_tag(image_url(LOGO_NAME))
|
||||
%br
|
||||
%h2#gestionnaire_login Mot de passe oublié
|
||||
|
||||
%br
|
||||
|
|
|
@ -1,7 +1,4 @@
|
|||
#form-login
|
||||
%br
|
||||
= image_tag(image_url(LOGO_NAME))
|
||||
%br
|
||||
%h2#gestionnaire_login Instructeur
|
||||
|
||||
%br
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
%a#title-navbar{ href: root_path }
|
||||
.row#home
|
||||
.col-lg-6.no-padding
|
||||
= image_tag('marianne_small.png', class: 'logo')
|
||||
= image_tag('marianne.svg', class: 'logo')
|
||||
.col-lg-6.no-padding#tps-title
|
||||
demarches-simplifiees.fr
|
||||
|
||||
|
|
|
@ -1,9 +1,6 @@
|
|||
= devise_error_messages!
|
||||
|
||||
#form-login
|
||||
.flag
|
||||
= image_tag(image_url(LOGO_NAME))
|
||||
%br
|
||||
%h2#gestionnaire_login Changement de mot de passe
|
||||
|
||||
%br
|
||||
|
|
|
@ -2,9 +2,6 @@
|
|||
|
||||
%br
|
||||
#form-login
|
||||
.flag
|
||||
= image_tag(image_url(LOGO_NAME))
|
||||
%br
|
||||
%h2#gestionnaire_login Mot de passe oublié
|
||||
|
||||
%br
|
||||
|
|
|
@ -14,7 +14,3 @@
|
|||
= @dossier.procedure.libelle
|
||||
%p.procedure-description
|
||||
= h string_to_html(@dossier.procedure.description)
|
||||
|
||||
- else
|
||||
#logo_procedure.flag
|
||||
= image_tag(image_url(LOGO_NAME), { id: 'logo_tps' })
|
||||
|
|
|
@ -1,7 +1,4 @@
|
|||
%p.lead#pro_section
|
||||
.flag
|
||||
= image_tag(image_url(LOGO_NAME))
|
||||
%br
|
||||
%h2#titre-procedure.text-info
|
||||
= @procedure.libelle
|
||||
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
LOGO_NAME = 'logos/logo-ds.png'
|
|
@ -24,7 +24,7 @@ describe ProcedureDecorator do
|
|||
|
||||
describe 'logo_img' do
|
||||
subject { super().logo_img }
|
||||
it { is_expected.to match(/http.*#{ActionController::Base.helpers.image_url(LOGO_NAME)}/) }
|
||||
it { is_expected.to match(/http.*#{ActionController::Base.helpers.image_url("marianne.svg")}/) }
|
||||
end
|
||||
|
||||
describe 'geographic_information' do
|
||||
|
|
Loading…
Reference in a new issue