[#10799] Move api entreprise token logic in a concern

This commit is contained in:
Mathieu Magnin 2024-09-24 17:03:18 +02:00
parent 39fdb8ddbb
commit 7009eed9d7
No known key found for this signature in database
GPG key ID: 8DCAFC82D7BA654E
5 changed files with 72 additions and 20 deletions

View file

@ -5,7 +5,7 @@
%p
Votre jeton API Entreprise est expiré.
Merci de le renouveler.
- else
- elsif procedure.api_entreprise_token_expires_soon?
= render Dsfr::AlertComponent.new(state: :warning, size: :sm, extra_class_names: 'fr-mb-2w') do |c|
- c.with_body do
%p