[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
|
def logo_img
|
||||||
if logo.blank?
|
if logo.blank?
|
||||||
h.image_url(LOGO_NAME)
|
h.image_url("marianne.svg")
|
||||||
else
|
else
|
||||||
if Flipflop.remote_storage?
|
if Flipflop.remote_storage?
|
||||||
(RemoteDownloader.new logo.filename).url
|
(RemoteDownloader.new logo.filename).url
|
||||||
|
|
|
@ -1,7 +1,4 @@
|
||||||
#form-login
|
#form-login
|
||||||
%br
|
|
||||||
= image_tag(image_url(LOGO_NAME))
|
|
||||||
%br
|
|
||||||
%h2#login_admin
|
%h2#login_admin
|
||||||
= t('dynamics.admin.connexion_title')
|
= t('dynamics.admin.connexion_title')
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,6 @@
|
||||||
= devise_error_messages!
|
= devise_error_messages!
|
||||||
|
|
||||||
#form-login
|
#form-login
|
||||||
= image_tag(image_url(LOGO_NAME))
|
|
||||||
%br
|
|
||||||
%h2#gestionnaire_login Changement de mot de passe
|
%h2#gestionnaire_login Changement de mot de passe
|
||||||
|
|
||||||
%br
|
%br
|
||||||
|
|
|
@ -2,8 +2,6 @@
|
||||||
|
|
||||||
%br
|
%br
|
||||||
#form-login
|
#form-login
|
||||||
= image_tag(image_url(LOGO_NAME))
|
|
||||||
%br
|
|
||||||
%h2#gestionnaire_login Mot de passe oublié
|
%h2#gestionnaire_login Mot de passe oublié
|
||||||
|
|
||||||
%br
|
%br
|
||||||
|
|
|
@ -1,7 +1,4 @@
|
||||||
#form-login
|
#form-login
|
||||||
%br
|
|
||||||
= image_tag(image_url(LOGO_NAME))
|
|
||||||
%br
|
|
||||||
%h2#gestionnaire_login Instructeur
|
%h2#gestionnaire_login Instructeur
|
||||||
|
|
||||||
%br
|
%br
|
||||||
|
|
|
@ -1,9 +1,6 @@
|
||||||
= devise_error_messages!
|
= devise_error_messages!
|
||||||
|
|
||||||
#form-login
|
#form-login
|
||||||
.flag
|
|
||||||
= image_tag(image_url(LOGO_NAME))
|
|
||||||
%br
|
|
||||||
%h2#gestionnaire_login Changement de mot de passe
|
%h2#gestionnaire_login Changement de mot de passe
|
||||||
|
|
||||||
%br
|
%br
|
||||||
|
|
|
@ -2,9 +2,6 @@
|
||||||
|
|
||||||
%br
|
%br
|
||||||
#form-login
|
#form-login
|
||||||
.flag
|
|
||||||
= image_tag(image_url(LOGO_NAME))
|
|
||||||
%br
|
|
||||||
%h2#gestionnaire_login Mot de passe oublié
|
%h2#gestionnaire_login Mot de passe oublié
|
||||||
|
|
||||||
%br
|
%br
|
||||||
|
|
|
@ -14,7 +14,3 @@
|
||||||
= @dossier.procedure.libelle
|
= @dossier.procedure.libelle
|
||||||
%p.procedure-description
|
%p.procedure-description
|
||||||
= h string_to_html(@dossier.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
|
%p.lead#pro_section
|
||||||
.flag
|
|
||||||
= image_tag(image_url(LOGO_NAME))
|
|
||||||
%br
|
|
||||||
%h2#titre-procedure.text-info
|
%h2#titre-procedure.text-info
|
||||||
= @procedure.libelle
|
= @procedure.libelle
|
||||||
|
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
LOGO_NAME = 'logos/logo-ds.png'
|
|
|
@ -24,7 +24,7 @@ describe ProcedureDecorator do
|
||||||
|
|
||||||
describe 'logo_img' do
|
describe 'logo_img' do
|
||||||
subject { super().logo_img }
|
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
|
end
|
||||||
|
|
||||||
describe 'geographic_information' do
|
describe 'geographic_information' do
|
||||||
|
|
Loading…
Reference in a new issue