From 09acc403733e25979c864908e23b06ba6df6d999 Mon Sep 17 00:00:00 2001 From: pabois <pierreandre.boissinot@noesya.coop> Date: Mon, 18 Oct 2021 16:54:15 +0200 Subject: [PATCH] btns in admin --- app/views/admin/communication/website/pages/_form.html.erb | 2 +- app/views/admin/communication/website/pages/index.html.erb | 2 +- app/views/admin/communication/website/pages/show.html.erb | 2 +- app/views/admin/communication/website/posts/_form.html.erb | 2 +- app/views/admin/communication/website/posts/index.html.erb | 2 +- app/views/admin/communication/website/posts/show.html.erb | 2 +- app/views/admin/communication/websites/_form.html.erb | 2 +- app/views/admin/communication/websites/import.html.erb | 2 +- app/views/admin/communication/websites/index.html.erb | 2 +- app/views/admin/communication/websites/show.html.erb | 2 +- app/views/admin/education/programs/_form.html.erb | 2 +- app/views/admin/education/programs/index.html.erb | 2 +- app/views/admin/education/programs/show.html.erb | 2 +- app/views/admin/research/journal/articles/_form.html.erb | 2 +- app/views/admin/research/journal/articles/index.html.erb | 2 +- app/views/admin/research/journal/articles/show.html.erb | 2 +- app/views/admin/research/journal/volumes/_form.html.erb | 2 +- app/views/admin/research/journal/volumes/index.html.erb | 2 +- app/views/admin/research/journal/volumes/show.html.erb | 2 +- app/views/admin/research/journals/_form.html.erb | 2 +- app/views/admin/research/journals/index.html.erb | 2 +- app/views/admin/research/journals/show.html.erb | 2 +- app/views/admin/research/researchers/_form.html.erb | 2 +- app/views/admin/research/researchers/index.html.erb | 2 +- app/views/admin/research/researchers/show.html.erb | 2 +- app/views/admin/users/_form.html.erb | 2 +- app/views/admin/users/index.html.erb | 2 +- app/views/admin/users/show.html.erb | 2 +- app/views/server/languages/index.html.erb | 2 +- app/views/server/universities/index.html.erb | 2 +- 30 files changed, 30 insertions(+), 30 deletions(-) diff --git a/app/views/admin/communication/website/pages/_form.html.erb b/app/views/admin/communication/website/pages/_form.html.erb index 15edf3743..ba8a97c73 100644 --- a/app/views/admin/communication/website/pages/_form.html.erb +++ b/app/views/admin/communication/website/pages/_form.html.erb @@ -25,7 +25,7 @@ </div> </div> </div> -<% content_for :buttons do %> +<% content_for :action_bar_right do %> <%= submit f %> <% end %> <% end %> diff --git a/app/views/admin/communication/website/pages/index.html.erb b/app/views/admin/communication/website/pages/index.html.erb index 157e08e9d..ad9660f46 100644 --- a/app/views/admin/communication/website/pages/index.html.erb +++ b/app/views/admin/communication/website/pages/index.html.erb @@ -2,6 +2,6 @@ <%= render 'admin/communication/website/pages/list', pages: @pages %> -<% content_for :buttons do %> +<% content_for :action_bar_right do %> <%= create_link Communication::Website::Page %> <% end %> diff --git a/app/views/admin/communication/website/pages/show.html.erb b/app/views/admin/communication/website/pages/show.html.erb index b3f80e932..3e51aa8ba 100644 --- a/app/views/admin/communication/website/pages/show.html.erb +++ b/app/views/admin/communication/website/pages/show.html.erb @@ -45,6 +45,6 @@ </div> </div> -<% content_for :buttons do %> +<% content_for :action_bar_right do %> <%= edit_link @page %> <% end %> diff --git a/app/views/admin/communication/website/posts/_form.html.erb b/app/views/admin/communication/website/posts/_form.html.erb index 0201b4e08..9d0ce1912 100644 --- a/app/views/admin/communication/website/posts/_form.html.erb +++ b/app/views/admin/communication/website/posts/_form.html.erb @@ -24,7 +24,7 @@ </div> </div> </div> - <% content_for :buttons do %> + <% content_for :action_bar_right do %> <%= submit f %> <% end %> <% end %> diff --git a/app/views/admin/communication/website/posts/index.html.erb b/app/views/admin/communication/website/posts/index.html.erb index 395eec23b..c7b698bd4 100644 --- a/app/views/admin/communication/website/posts/index.html.erb +++ b/app/views/admin/communication/website/posts/index.html.erb @@ -2,6 +2,6 @@ <%= render 'admin/communication/website/posts/list', posts: @posts %> -<% content_for :buttons do %> +<% content_for :action_bar_right do %> <%= create_link Communication::Website::Post %> <% end %> diff --git a/app/views/admin/communication/website/posts/show.html.erb b/app/views/admin/communication/website/posts/show.html.erb index c4c124033..a3c9b3ab7 100644 --- a/app/views/admin/communication/website/posts/show.html.erb +++ b/app/views/admin/communication/website/posts/show.html.erb @@ -40,6 +40,6 @@ </div> </div> -<% content_for :buttons do %> +<% content_for :action_bar_right do %> <%= edit_link @post %> <% end %> diff --git a/app/views/admin/communication/websites/_form.html.erb b/app/views/admin/communication/websites/_form.html.erb index 6e92bb9db..3ad7c36fa 100644 --- a/app/views/admin/communication/websites/_form.html.erb +++ b/app/views/admin/communication/websites/_form.html.erb @@ -27,7 +27,7 @@ <div class="col-md-4"> </div> </div> - <% content_for :buttons do %> + <% content_for :action_bar_right do %> <%= submit f %> <% end %> <% end %> diff --git a/app/views/admin/communication/websites/import.html.erb b/app/views/admin/communication/websites/import.html.erb index cddec88ec..4bceaded8 100644 --- a/app/views/admin/communication/websites/import.html.erb +++ b/app/views/admin/communication/websites/import.html.erb @@ -1,5 +1,5 @@ <% content_for :title, @website %> -<% content_for :buttons do %> +<% content_for :action_bar_right do %> <%= link_to t('communication.website.imported.refresh'), import_admin_communication_website_path, method: :post, diff --git a/app/views/admin/communication/websites/index.html.erb b/app/views/admin/communication/websites/index.html.erb index fd54aa8fc..51c9949db 100644 --- a/app/views/admin/communication/websites/index.html.erb +++ b/app/views/admin/communication/websites/index.html.erb @@ -26,6 +26,6 @@ </tbody> </table> -<% content_for :buttons do %> +<% content_for :action_bar_right do %> <%= create_link Communication::Website %> <% end %> diff --git a/app/views/admin/communication/websites/show.html.erb b/app/views/admin/communication/websites/show.html.erb index c80c33b93..99c6cb6d4 100644 --- a/app/views/admin/communication/websites/show.html.erb +++ b/app/views/admin/communication/websites/show.html.erb @@ -26,7 +26,7 @@ admin_communication_website_pages_path(website_id: @website) %> <%= render 'admin/communication/website/pages/list', pages: @website.pages.recent %> -<% content_for :buttons do %> +<% content_for :action_bar_right do %> <% if @website.imported? %> <%= link_to t('communication.website.imported.show'), import_admin_communication_website_path, diff --git a/app/views/admin/education/programs/_form.html.erb b/app/views/admin/education/programs/_form.html.erb index b46c733d0..d347aefe9 100644 --- a/app/views/admin/education/programs/_form.html.erb +++ b/app/views/admin/education/programs/_form.html.erb @@ -28,7 +28,7 @@ <%= f.input :evaluation, input_html: { rows: 5 } %> </div> </div> - <% content_for :buttons do %> + <% content_for :action_bar_right do %> <%= submit f %> <% end %> <% end %> diff --git a/app/views/admin/education/programs/index.html.erb b/app/views/admin/education/programs/index.html.erb index f100e7bbc..e220d4867 100644 --- a/app/views/admin/education/programs/index.html.erb +++ b/app/views/admin/education/programs/index.html.erb @@ -22,6 +22,6 @@ </tbody> </table> -<% content_for :buttons do %> +<% content_for :action_bar_right do %> <%= create_link Education::Program %> <% end %> diff --git a/app/views/admin/education/programs/show.html.erb b/app/views/admin/education/programs/show.html.erb index 7ebca9492..06c15721e 100644 --- a/app/views/admin/education/programs/show.html.erb +++ b/app/views/admin/education/programs/show.html.erb @@ -60,6 +60,6 @@ <%= @program.accessibility %> </p> -<% content_for :buttons do %> +<% content_for :action_bar_right do %> <%= edit_link @program %> <% end %> diff --git a/app/views/admin/research/journal/articles/_form.html.erb b/app/views/admin/research/journal/articles/_form.html.erb index 5953dc2e6..ef896f40c 100644 --- a/app/views/admin/research/journal/articles/_form.html.erb +++ b/app/views/admin/research/journal/articles/_form.html.erb @@ -28,7 +28,7 @@ </div> </div> </div> - <% content_for :buttons do %> + <% content_for :action_bar_right do %> <%= submit f %> <% end %> <% end %> diff --git a/app/views/admin/research/journal/articles/index.html.erb b/app/views/admin/research/journal/articles/index.html.erb index 33e3e7daf..00a03fe06 100644 --- a/app/views/admin/research/journal/articles/index.html.erb +++ b/app/views/admin/research/journal/articles/index.html.erb @@ -2,6 +2,6 @@ <%= render 'admin/research/journal/articles/list', articles: @articles %> -<% content_for :buttons do %> +<% content_for :action_bar_right do %> <%= create_link Research::Journal::Article %> <% end %> diff --git a/app/views/admin/research/journal/articles/show.html.erb b/app/views/admin/research/journal/articles/show.html.erb index e143915f9..fe43b0254 100644 --- a/app/views/admin/research/journal/articles/show.html.erb +++ b/app/views/admin/research/journal/articles/show.html.erb @@ -44,6 +44,6 @@ </div> </div> -<% content_for :buttons do %> +<% content_for :action_bar_right do %> <%= edit_link @article %> <% end %> diff --git a/app/views/admin/research/journal/volumes/_form.html.erb b/app/views/admin/research/journal/volumes/_form.html.erb index f7e1627a9..4427b2ab7 100644 --- a/app/views/admin/research/journal/volumes/_form.html.erb +++ b/app/views/admin/research/journal/volumes/_form.html.erb @@ -25,7 +25,7 @@ </div> </div> </div> - <% content_for :buttons do %> + <% content_for :action_bar_right do %> <%= submit f %> <% end %> <% end %> diff --git a/app/views/admin/research/journal/volumes/index.html.erb b/app/views/admin/research/journal/volumes/index.html.erb index 61dd2eb3c..6998ad87a 100644 --- a/app/views/admin/research/journal/volumes/index.html.erb +++ b/app/views/admin/research/journal/volumes/index.html.erb @@ -22,6 +22,6 @@ </tbody> </table> -<% content_for :buttons do %> +<% content_for :action_bar_right do %> <%= create_link Research::Journal::Volume %> <% end %> diff --git a/app/views/admin/research/journal/volumes/show.html.erb b/app/views/admin/research/journal/volumes/show.html.erb index b5e34f0ae..dcdaedf03 100644 --- a/app/views/admin/research/journal/volumes/show.html.erb +++ b/app/views/admin/research/journal/volumes/show.html.erb @@ -27,6 +27,6 @@ </div> </div> -<% content_for :buttons do %> +<% content_for :action_bar_right do %> <%= edit_link @volume %> <% end %> diff --git a/app/views/admin/research/journals/_form.html.erb b/app/views/admin/research/journals/_form.html.erb index 6292941b2..4bb0e3c97 100644 --- a/app/views/admin/research/journals/_form.html.erb +++ b/app/views/admin/research/journals/_form.html.erb @@ -5,7 +5,7 @@ <%= f.input :issn %> </div> </div> - <% content_for :buttons do %> + <% content_for :action_bar_right do %> <%= submit f %> <% end %> <% end %> diff --git a/app/views/admin/research/journals/index.html.erb b/app/views/admin/research/journals/index.html.erb index 32384f564..e3a66dd73 100644 --- a/app/views/admin/research/journals/index.html.erb +++ b/app/views/admin/research/journals/index.html.erb @@ -25,6 +25,6 @@ </tbody> </table> -<% content_for :buttons do %> +<% content_for :action_bar_right do %> <%= create_link Research::Journal %> <% end %> diff --git a/app/views/admin/research/journals/show.html.erb b/app/views/admin/research/journals/show.html.erb index a19568469..8517584e3 100644 --- a/app/views/admin/research/journals/show.html.erb +++ b/app/views/admin/research/journals/show.html.erb @@ -42,6 +42,6 @@ <%= render 'admin/research/journal/articles/list', articles: @journal.articles.ordered.limit(10) %> -<% content_for :buttons do %> +<% content_for :action_bar_right do %> <%= edit_link @journal %> <% end %> diff --git a/app/views/admin/research/researchers/_form.html.erb b/app/views/admin/research/researchers/_form.html.erb index bdda716a6..aea62c4a0 100644 --- a/app/views/admin/research/researchers/_form.html.erb +++ b/app/views/admin/research/researchers/_form.html.erb @@ -9,7 +9,7 @@ <%= f.input :biography, input_html: { rows: 5 } %> </div> </div> - <% content_for :buttons do %> + <% content_for :action_bar_right do %> <%= submit f %> <% end %> <% end %> diff --git a/app/views/admin/research/researchers/index.html.erb b/app/views/admin/research/researchers/index.html.erb index 7f5058952..f7307ecab 100644 --- a/app/views/admin/research/researchers/index.html.erb +++ b/app/views/admin/research/researchers/index.html.erb @@ -25,6 +25,6 @@ </tbody> </table> -<% content_for :buttons do %> +<% content_for :action_bar_right do %> <%= create_link Research::Researcher %> <% end %> diff --git a/app/views/admin/research/researchers/show.html.erb b/app/views/admin/research/researchers/show.html.erb index 14c4a1c48..d12b1c32b 100644 --- a/app/views/admin/research/researchers/show.html.erb +++ b/app/views/admin/research/researchers/show.html.erb @@ -31,6 +31,6 @@ </ul> </p> -<% content_for :buttons do %> +<% content_for :action_bar_right do %> <%= edit_link @researcher %> <% end %> diff --git a/app/views/admin/users/_form.html.erb b/app/views/admin/users/_form.html.erb index a39d469f0..64227623d 100644 --- a/app/views/admin/users/_form.html.erb +++ b/app/views/admin/users/_form.html.erb @@ -18,7 +18,7 @@ <%= f.input :mobile_phone %> </div> </div> - <% content_for :buttons do %> + <% content_for :action_bar_right do %> <%= submit f %> <% end %> <% end %> diff --git a/app/views/admin/users/index.html.erb b/app/views/admin/users/index.html.erb index a55d80578..cf8e84b41 100644 --- a/app/views/admin/users/index.html.erb +++ b/app/views/admin/users/index.html.erb @@ -28,6 +28,6 @@ </tbody> </table> -<% content_for :buttons do %> +<% content_for :action_bar_right do %> <%= create_link User %> <% end %> diff --git a/app/views/admin/users/show.html.erb b/app/views/admin/users/show.html.erb index 6dc4aaca7..ae799277f 100644 --- a/app/views/admin/users/show.html.erb +++ b/app/views/admin/users/show.html.erb @@ -41,6 +41,6 @@ <% end %> -<% content_for :buttons do %> +<% content_for :action_bar_right do %> <%= edit_link @user %> <% end %> diff --git a/app/views/server/languages/index.html.erb b/app/views/server/languages/index.html.erb index 867cb62aa..03e167cb9 100644 --- a/app/views/server/languages/index.html.erb +++ b/app/views/server/languages/index.html.erb @@ -22,6 +22,6 @@ </tbody> </table> -<% content_for :buttons do %> +<% content_for :action_bar_right do %> <%= link_to t('create'), new_server_language_path, class: button_classes %> <% end %> diff --git a/app/views/server/universities/index.html.erb b/app/views/server/universities/index.html.erb index 0cb0a2953..cbf04c0d5 100644 --- a/app/views/server/universities/index.html.erb +++ b/app/views/server/universities/index.html.erb @@ -23,6 +23,6 @@ </tbody> </table> -<% content_for :buttons do %> +<% content_for :action_bar_right do %> <%= link_to t('create'), new_server_university_path, class: button_classes %> <% end %> -- GitLab