add missing views and change position for notif
This commit is contained in:
parent
5155049873
commit
09d4ed760f
6 changed files with 16 additions and 27 deletions
|
@ -38,15 +38,12 @@
|
|||
%table.table.dossiers-table.hoverable
|
||||
%thead
|
||||
%tr
|
||||
%th.notification-col
|
||||
%th.number-col N° dossier
|
||||
%th Raison de suppression
|
||||
%th Date de suppression
|
||||
%tbody
|
||||
- @deleted_dossiers.each do |deleted_dossier|
|
||||
%tr
|
||||
%td.text-center
|
||||
= dsfr_icon('fr-icon-file-text-line')
|
||||
%td.number-col
|
||||
= deleted_dossier.dossier_id
|
||||
%td
|
||||
|
|
|
@ -136,12 +136,14 @@
|
|||
= check_box_tag :"batch_operation[dossier_ids][]", p.dossier_id, false, data: { batch_operation_target: "input", action: "batch-operation#onCheckOne", operations: batch_operation_component.operations_for_dossier(p).join(',') }, form: dom_id(BatchOperation.new), id: dom_id(BatchOperation.new, "checkbox_#{p.dossier_id}"), aria: { label: t('views.instructeurs.dossiers.batch_operation.enabled', dossier_id: p.dossier_id) }
|
||||
|
||||
%td.number-col
|
||||
- if @not_archived_notifications_dossier_ids.include?(p.dossier_id)
|
||||
%span.notifications{ 'aria-label': 'notifications' }
|
||||
- if p.hidden_by_administration_at.present?
|
||||
%span.cell-link= p.dossier_id
|
||||
- else
|
||||
%a.cell-link{ href: path }= p.dossier_id
|
||||
%a.cell-link.relative{ href: path }
|
||||
= p.dossier_id
|
||||
- if @not_archived_notifications_dossier_ids.include?(p.dossier_id)
|
||||
%span.notifications.absolute-right{ 'aria-label': 'notifications' }
|
||||
|
||||
|
||||
- p.columns.each do |column|
|
||||
%td
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue