[Fix #1511] Remove the now obsolete DS logo
This commit is contained in:
parent
7e21685e4e
commit
5db408efdb
13 changed files with 3 additions and 26 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 |
|
@ -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
|
||||
|
|
|
@ -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