diff --git a/app/views/admin/communication/website/posts/index.html.erb b/app/views/admin/communication/website/posts/index.html.erb index e64a085ec62bab493a949646064ee96566e91b11..814a431bf51ab1da6c16ae00eb1bec4d3504f962 100644 --- a/app/views/admin/communication/website/posts/index.html.erb +++ b/app/views/admin/communication/website/posts/index.html.erb @@ -11,9 +11,12 @@ </div> <% end %> -<% content_for :action_bar_right do %> - <%= create_link Communication::Website::Post %> +<% content_for :action_bar_left do %> <%= link_to t('communication.website.posts.new_curation'), new_admin_communication_website_post_curation_path(website_id: @website.id), class: button_classes if can?(:create, Communication::Website::Post) %> <% end %> + +<% content_for :action_bar_right do %> + <%= create_link Communication::Website::Post %> +<% end %> diff --git a/app/views/api/dashboard/index.html.erb b/app/views/api/dashboard/index.html.erb index 5a1d57b884ae12719e7d6a0fc919cabece14e5f6..07de5eec15e34aac846bfce0bf61bc601336ef90 100644 --- a/app/views/api/dashboard/index.html.erb +++ b/app/views/api/dashboard/index.html.erb @@ -1,5 +1,10 @@ <% content_for :title, 'API' %> <h2>Lhéo</h2> -<p>Langage Harmonisé d'Échange d'informations sur l'Offre de formation</p> -<%= link_to 'API Lhéo', api_lheo_path %> +<p> + Lhéo est un <a href="http://lheo.gouv.fr/" target="_blank" rel=" + "> + Langage Harmonisé d'Échange d'informations sur l'Offre de formation. + </a>. L'API Osuny Lhéo met à disposition toute l'offre de formation à ce format. +</p> +<%= link_to 'Accéder à l\'API Lhéo', api_lheo_path, class: 'btn btn-primary' %> diff --git a/app/views/api/layouts/application.html.erb b/app/views/api/layouts/application.html.erb index e7e4b164644aed76f496b20f404fbbb2eb4c4058..531f1f8a12047cfad3f61466dde7bdb6445ef5ce 100644 --- a/app/views/api/layouts/application.html.erb +++ b/app/views/api/layouts/application.html.erb @@ -6,8 +6,8 @@ <title><%= yield :title %></title> <%= csrf_meta_tags %> <%= csp_meta_tag %> - <%= stylesheet_link_tag 'application', media: 'all' %> - <%= javascript_include_tag 'application' %> + <%= stylesheet_link_tag 'admin', media: 'all' %> + <%= javascript_include_tag 'admin' %> <%= favicon_link_tag 'favicon.png' %> </head> <body class="<%= body_classes %>">