From 56104ea60c5df3c03122d5901b497111c85b6c4f Mon Sep 17 00:00:00 2001 From: pabois <pierreandre.boissinot@noesya.coop> Date: Thu, 24 Feb 2022 15:28:08 +0100 Subject: [PATCH] close #214 --- .../admin/communication/website/categories/show.html.erb | 1 + app/views/admin/communication/website/menus/show.html.erb | 1 + app/views/admin/communication/website/pages/show.html.erb | 1 + app/views/admin/communication/website/posts/show.html.erb | 1 + app/views/admin/communication/websites/show.html.erb | 6 +++++- app/views/admin/education/programs/show.html.erb | 1 + app/views/admin/education/schools/show.html.erb | 1 + app/views/admin/research/journal/articles/show.html.erb | 1 + app/views/admin/research/journal/volumes/show.html.erb | 1 + app/views/admin/research/journals/show.html.erb | 1 + app/views/admin/research/laboratories/show.html.erb | 1 + app/views/admin/research/laboratory/axes/show.html.erb | 1 + app/views/admin/research/theses/show.html.erb | 1 + app/views/admin/university/people/show.html.erb | 1 + app/views/admin/users/show.html.erb | 1 + 15 files changed, 19 insertions(+), 1 deletion(-) diff --git a/app/views/admin/communication/website/categories/show.html.erb b/app/views/admin/communication/website/categories/show.html.erb index cff0dcbea..d93cde457 100644 --- a/app/views/admin/communication/website/categories/show.html.erb +++ b/app/views/admin/communication/website/categories/show.html.erb @@ -78,4 +78,5 @@ <% content_for :action_bar_right do %> <%= edit_link @category %> + <%= destroy_link @category %> <% end %> diff --git a/app/views/admin/communication/website/menus/show.html.erb b/app/views/admin/communication/website/menus/show.html.erb index 539c1f48f..98f7320eb 100644 --- a/app/views/admin/communication/website/menus/show.html.erb +++ b/app/views/admin/communication/website/menus/show.html.erb @@ -31,4 +31,5 @@ <% content_for :action_bar_right do %> <%= edit_link @menu %> + <%= destroy_link @menu %> <% end %> diff --git a/app/views/admin/communication/website/pages/show.html.erb b/app/views/admin/communication/website/pages/show.html.erb index 217b3b1a8..8d4b8a8c0 100644 --- a/app/views/admin/communication/website/pages/show.html.erb +++ b/app/views/admin/communication/website/pages/show.html.erb @@ -96,4 +96,5 @@ <% content_for :action_bar_right do %> <%= preview_link %> <%= edit_link @page %> + <%= destroy_link @page %> <% end %> diff --git a/app/views/admin/communication/website/posts/show.html.erb b/app/views/admin/communication/website/posts/show.html.erb index 4a9c1ee79..2929f1d22 100644 --- a/app/views/admin/communication/website/posts/show.html.erb +++ b/app/views/admin/communication/website/posts/show.html.erb @@ -74,4 +74,5 @@ <% content_for :action_bar_right do %> <%= preview_link %> <%= edit_link @post %> + <%= destroy_link @post %> <% end %> diff --git a/app/views/admin/communication/websites/show.html.erb b/app/views/admin/communication/websites/show.html.erb index d129cb67f..5057c7241 100644 --- a/app/views/admin/communication/websites/show.html.erb +++ b/app/views/admin/communication/websites/show.html.erb @@ -15,7 +15,7 @@ <%= render 'admin/communication/websites/show/pages' if can? :read, Communication::Website::Page %> <% end %> -<% content_for :action_bar_right do %> +<% content_for :action_bar_left do %> <% if can? :read, Communication::Website::Imported::Website %> <% if @website.imported? %> <%= link_to t('communication.website.imported.show'), @@ -28,5 +28,9 @@ class: button_classes %> <% end %> <% end %> +<% end %> + +<% content_for :action_bar_right do %> <%= edit_link @website %> + <%= destroy_link @website %> <% end %> diff --git a/app/views/admin/education/programs/show.html.erb b/app/views/admin/education/programs/show.html.erb index c4ce97bdc..55bdad466 100644 --- a/app/views/admin/education/programs/show.html.erb +++ b/app/views/admin/education/programs/show.html.erb @@ -132,4 +132,5 @@ <% content_for :action_bar_right do %> <%= preview_link %> <%= edit_link @program %> + <%= destroy_link @program %> <% end %> diff --git a/app/views/admin/education/schools/show.html.erb b/app/views/admin/education/schools/show.html.erb index 2bd93a35f..4ef8f5ae8 100644 --- a/app/views/admin/education/schools/show.html.erb +++ b/app/views/admin/education/schools/show.html.erb @@ -60,4 +60,5 @@ <% content_for :action_bar_right do %> <%= edit_link @school %> + <%= destroy_link @school %> <% end %> diff --git a/app/views/admin/research/journal/articles/show.html.erb b/app/views/admin/research/journal/articles/show.html.erb index eab657042..da0caf4c5 100644 --- a/app/views/admin/research/journal/articles/show.html.erb +++ b/app/views/admin/research/journal/articles/show.html.erb @@ -56,4 +56,5 @@ <% content_for :action_bar_right do %> <%= edit_link @article %> + <%= destroy_link @article %> <% end %> diff --git a/app/views/admin/research/journal/volumes/show.html.erb b/app/views/admin/research/journal/volumes/show.html.erb index d485e48b4..ecb910c39 100644 --- a/app/views/admin/research/journal/volumes/show.html.erb +++ b/app/views/admin/research/journal/volumes/show.html.erb @@ -81,4 +81,5 @@ <% content_for :action_bar_right do %> <%= edit_link @volume %> + <%= destroy_link @volume %> <% end %> diff --git a/app/views/admin/research/journals/show.html.erb b/app/views/admin/research/journals/show.html.erb index 6866b76a8..cd56929b1 100644 --- a/app/views/admin/research/journals/show.html.erb +++ b/app/views/admin/research/journals/show.html.erb @@ -57,4 +57,5 @@ <% content_for :action_bar_right do %> <%= edit_link @journal %> + <%= destroy_link @journal %> <% end %> diff --git a/app/views/admin/research/laboratories/show.html.erb b/app/views/admin/research/laboratories/show.html.erb index 1dc1c44b0..6c78d471c 100644 --- a/app/views/admin/research/laboratories/show.html.erb +++ b/app/views/admin/research/laboratories/show.html.erb @@ -16,4 +16,5 @@ <% content_for :action_bar_right do %> <%= edit_link @laboratory %> + <%= destroy_link @laboratory %> <% end %> diff --git a/app/views/admin/research/laboratory/axes/show.html.erb b/app/views/admin/research/laboratory/axes/show.html.erb index 33a33613f..241fef013 100644 --- a/app/views/admin/research/laboratory/axes/show.html.erb +++ b/app/views/admin/research/laboratory/axes/show.html.erb @@ -22,4 +22,5 @@ <% content_for :action_bar_right do %> <%= edit_link @axis %> + <%= destroy_link @axis %> <% end %> diff --git a/app/views/admin/research/theses/show.html.erb b/app/views/admin/research/theses/show.html.erb index b8d8ef53c..9e9880862 100644 --- a/app/views/admin/research/theses/show.html.erb +++ b/app/views/admin/research/theses/show.html.erb @@ -2,4 +2,5 @@ <% content_for :action_bar_right do %> <%= edit_link @thesis %> + <%= destroy_link @thesis %> <% end %> diff --git a/app/views/admin/university/people/show.html.erb b/app/views/admin/university/people/show.html.erb index c9b12d40f..c613c9003 100644 --- a/app/views/admin/university/people/show.html.erb +++ b/app/views/admin/university/people/show.html.erb @@ -21,4 +21,5 @@ <% content_for :action_bar_right do %> <%= edit_link @person %> + <%= destroy_link @person %> <% end %> diff --git a/app/views/admin/users/show.html.erb b/app/views/admin/users/show.html.erb index 746c076a5..921500972 100644 --- a/app/views/admin/users/show.html.erb +++ b/app/views/admin/users/show.html.erb @@ -49,4 +49,5 @@ <% content_for :action_bar_right do %> <%= edit_link @user %> + <%= destroy_link @user %> <% end %> -- GitLab