[#10799] Move api entreprise token logic in a concern
This commit is contained in:
parent
39fdb8ddbb
commit
7009eed9d7
5 changed files with 72 additions and 20 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue