add link to sources UI
This commit is contained in:
parent
2c13f70cd5
commit
cfebc4698a
1 changed files with 14 additions and 0 deletions
|
@ -18,3 +18,17 @@
|
||||||
%p.card-admin-title
|
%p.card-admin-title
|
||||||
= Procedure.human_attribute_name(:jeton_api_particulier)
|
= Procedure.human_attribute_name(:jeton_api_particulier)
|
||||||
%p.button= t('views.shared.actions.edit')
|
%p.button= t('views.shared.actions.edit')
|
||||||
|
|
||||||
|
- if @procedure.api_particulier_scopes.present?
|
||||||
|
= link_to admin_procedure_api_particulier_sources_path, class: 'card-admin' do
|
||||||
|
- if @procedure.api_particulier_token.blank?
|
||||||
|
%div
|
||||||
|
%span.icon.clock
|
||||||
|
%p.card-admin-status-todo= t('.needs_configuration')
|
||||||
|
- else
|
||||||
|
%div
|
||||||
|
%span.icon.accept
|
||||||
|
%p.card-admin-status-accept= t('.already_configured')
|
||||||
|
%div
|
||||||
|
%p.card-admin-title= t('new_administrateur.sources_particulier.show.data_sources')
|
||||||
|
%p.button= t('views.shared.actions.edit')
|
||||||
|
|
Loading…
Reference in a new issue