remove useless class in html
This commit is contained in:
parent
17c8450450
commit
2554f72668
2 changed files with 22 additions and 24 deletions
|
@ -1,18 +1,17 @@
|
||||||
.title-container
|
%h1
|
||||||
%h1
|
= procedure_libelle(dossier.procedure)
|
||||||
= procedure_libelle(dossier.procedure)
|
= status_badge(dossier.state, 'super')
|
||||||
= status_badge(dossier.state, 'super')
|
%h2
|
||||||
%h2
|
= t('views.users.dossiers.show.header.dossier_number', dossier_id: dossier.id)
|
||||||
= t('views.users.dossiers.show.header.dossier_number', dossier_id: dossier.id)
|
= t('views.users.dossiers.show.header.created_date', date_du_dossier: I18n.l(dossier.created_at))
|
||||||
= t('views.users.dossiers.show.header.created_date', date_du_dossier: I18n.l(dossier.created_at))
|
|
||||||
|
|
||||||
= render(partial: 'users/dossiers/expiration_banner', locals: {dossier: dossier})
|
= render(partial: 'users/dossiers/expiration_banner', locals: {dossier: dossier})
|
||||||
|
|
||||||
- if dossier.show_procedure_state_warning?
|
- if dossier.show_procedure_state_warning?
|
||||||
= render(partial: 'users/dossiers/procedure_removed_banner', locals: { dossier: dossier })
|
= render(partial: 'users/dossiers/procedure_removed_banner', locals: { dossier: dossier })
|
||||||
- elsif current_user.owns?(dossier)
|
- elsif current_user.owns?(dossier)
|
||||||
.header-actions
|
.header-actions
|
||||||
= render partial: 'invites/dropdown', locals: { dossier: dossier, morphing: false }
|
= render partial: 'invites/dropdown', locals: { dossier: dossier, morphing: false }
|
||||||
|
|
||||||
- unless dossier.read_only?
|
- unless dossier.read_only?
|
||||||
= render partial: 'users/dossiers/identity_dropdown', locals: { dossier: dossier }
|
= render partial: 'users/dossiers/identity_dropdown', locals: { dossier: dossier }
|
||||||
|
|
|
@ -1,15 +1,14 @@
|
||||||
.sub-header
|
.sub-header
|
||||||
.container
|
.container
|
||||||
.title-container
|
%h1
|
||||||
%h1
|
= dossier.procedure.libelle
|
||||||
= dossier.procedure.libelle
|
= status_badge(dossier.state, 'super')
|
||||||
= status_badge(dossier.state, 'super')
|
%h2
|
||||||
%h2
|
= t('views.users.dossiers.show.header.dossier_number', dossier_id: dossier.id)
|
||||||
= t('views.users.dossiers.show.header.dossier_number', dossier_id: dossier.id)
|
- if dossier.depose_at.present?
|
||||||
- if dossier.depose_at.present?
|
= t('views.users.dossiers.show.header.submit_date', date_du_dossier: I18n.l(dossier.depose_at))
|
||||||
= t('views.users.dossiers.show.header.submit_date', date_du_dossier: I18n.l(dossier.depose_at))
|
|
||||||
|
|
||||||
= render(partial: 'users/dossiers/expiration_banner', locals: {dossier: dossier})
|
= render(partial: 'users/dossiers/expiration_banner', locals: {dossier: dossier})
|
||||||
|
|
||||||
- if dossier.show_procedure_state_warning?
|
- if dossier.show_procedure_state_warning?
|
||||||
= render(partial: 'users/dossiers/procedure_removed_banner', locals: { dossier: dossier })
|
= render(partial: 'users/dossiers/procedure_removed_banner', locals: { dossier: dossier })
|
||||||
|
|
Loading…
Reference in a new issue