2023-10-30 15:37:04 +01:00
|
|
|
|
= render "main_navigation", action: :index
|
|
|
|
|
|
2023-10-03 16:20:13 +02:00
|
|
|
|
.fr-container.fr-my-5w
|
|
|
|
|
.fr-grid-row.fr-grid-row--center
|
|
|
|
|
.fr-col-lg-10
|
|
|
|
|
|
2023-10-30 15:37:04 +01:00
|
|
|
|
%h1.fr-h2 Liste des annonces
|
2023-10-03 16:20:13 +02:00
|
|
|
|
|
2023-10-30 15:37:04 +01:00
|
|
|
|
-# haml-lint:disable ApplicationNameLinter
|
|
|
|
|
= link_to "Releases sur GitHub", "https://github.com/demarches-simplifiees/demarches-simplifiees.fr/releases", **external_link_attributes
|
|
|
|
|
-# haml-lint:enable ApplicationNameLinter
|
2023-10-03 16:20:13 +02:00
|
|
|
|
|
2023-10-30 15:37:04 +01:00
|
|
|
|
.fr-table
|
|
|
|
|
%table
|
|
|
|
|
%thead
|
|
|
|
|
%th Annoncé le
|
|
|
|
|
%th Publié ?
|
|
|
|
|
%th Notes
|
|
|
|
|
%th Actions
|
|
|
|
|
%tbody
|
|
|
|
|
- @release_notes.each do |note|
|
|
|
|
|
%tr
|
|
|
|
|
%td= l(note.released_on) if note.released_on
|
|
|
|
|
%td
|
|
|
|
|
- if note.published?
|
|
|
|
|
%span.fr-badge.fr-badge--success.fr-badge--no-icon Publié
|
|
|
|
|
- else
|
|
|
|
|
%span.fr-badge.fr-badge--warning.fr-badge--no-icon Brouillon
|
|
|
|
|
%td= note.body.to_plain_text.truncate_words(12)
|
|
|
|
|
%td
|
|
|
|
|
= link_to 'Modifier', edit_super_admins_release_note_path(note), class: 'fr-btn fr-btn--secondary'
|