[Fix #1511] Remove the now obsolete DS logo

This commit is contained in:
gregoirenovel 2018-09-23 23:15:47 +02:00
parent 7e21685e4e
commit 5db408efdb
13 changed files with 3 additions and 26 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.7 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 32 KiB

View file

@ -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

View file

@ -1,7 +1,4 @@
#form-login
%br
= image_tag(image_url(LOGO_NAME))
%br
%h2#login_admin
= t('dynamics.admin.connexion_title')

View file

@ -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

View file

@ -2,8 +2,6 @@
%br
#form-login
= image_tag(image_url(LOGO_NAME))
%br
%h2#gestionnaire_login Mot de passe oublié
%br

View file

@ -1,7 +1,4 @@
#form-login
%br
= image_tag(image_url(LOGO_NAME))
%br
%h2#gestionnaire_login Instructeur
%br

View file

@ -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

View file

@ -2,9 +2,6 @@
%br
#form-login
.flag
= image_tag(image_url(LOGO_NAME))
%br
%h2#gestionnaire_login Mot de passe oublié
%br

View file

@ -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' })

View file

@ -1,7 +1,4 @@
%p.lead#pro_section
.flag
= image_tag(image_url(LOGO_NAME))
%br
%h2#titre-procedure.text-info
= @procedure.libelle

View file

@ -1 +0,0 @@
LOGO_NAME = 'logos/logo-ds.png'

View file

@ -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