diff --git a/app/views/admin/communication/extranets/documents/categories/index.html.erb b/app/views/admin/communication/extranets/documents/categories/index.html.erb index c4e9bfba613d2bf744d2a034431016385ae93f44..f8b438112df99b3345eae07b2560ca25e3af9f8e 100644 --- a/app/views/admin/communication/extranets/documents/categories/index.html.erb +++ b/app/views/admin/communication/extranets/documents/categories/index.html.erb @@ -1,4 +1,4 @@ -<% content_for :title, Communication::Extranet::Post::Category.model_name.human(count: 2) %> +<% content_for :title, Communication::Extranet::Document::Category.model_name.human(count: 2) %> <%= render 'admin/communication/extranets/sidebar' do %> <%= render 'admin/communication/extranets/documents/categories/list', categories: @categories %> diff --git a/app/views/admin/communication/extranets/documents/categories/new.html.erb b/app/views/admin/communication/extranets/documents/categories/new.html.erb index dffe93cc2bb91a5bb9d56144cb362177247fb42d..04037310c7f30d0d8441899965092973963bdc4b 100644 --- a/app/views/admin/communication/extranets/documents/categories/new.html.erb +++ b/app/views/admin/communication/extranets/documents/categories/new.html.erb @@ -1,4 +1,4 @@ -<% content_for :title, Communication::Extranet::Post::Category.model_name.human %> +<% content_for :title, Communication::Extranet::Document::Category.model_name.human %> <%= render 'admin/communication/extranets/sidebar' do %> <%= render 'form', category: @category %> diff --git a/app/views/admin/communication/extranets/documents/categories/preview.html.erb b/app/views/admin/communication/extranets/documents/categories/preview.html.erb deleted file mode 100644 index 14bd7cd482e0666eb021ef6bb70d0732497bf91f..0000000000000000000000000000000000000000 --- a/app/views/admin/communication/extranets/documents/categories/preview.html.erb +++ /dev/null @@ -1,3 +0,0 @@ -<% content_for :title, @post.title %> -<% content_for :image, kamifusen_tag(@post.featured_image) if @post.featured_image.attached? %> -<%= render 'admin/communication/blocks/preview', about: @post %> diff --git a/app/views/admin/communication/extranets/documents/kinds/_list.html.erb b/app/views/admin/communication/extranets/documents/kinds/_list.html.erb index b481ebd547a9064cd09ee1c4079ad04db098f826..0cb30d55f5f0b1ed66229e1a66427a420583ac74 100644 --- a/app/views/admin/communication/extranets/documents/kinds/_list.html.erb +++ b/app/views/admin/communication/extranets/documents/kinds/_list.html.erb @@ -2,7 +2,7 @@ <table class="<%= table_classes %>"> <thead> <tr> - <th class="ps-0" width="60%"><%= Communication::Extranet::Post::Category.human_attribute_name('name') %></th> + <th class="ps-0" width="60%"><%= Communication::Extranet::Document::Kind.human_attribute_name('name') %></th> <th><%= Communication::Extranet::Document::Kind.human_attribute_name('quantity') %></th> <th></th> </tr> diff --git a/app/views/admin/communication/extranets/documents/kinds/preview.html.erb b/app/views/admin/communication/extranets/documents/kinds/preview.html.erb deleted file mode 100644 index 14bd7cd482e0666eb021ef6bb70d0732497bf91f..0000000000000000000000000000000000000000 --- a/app/views/admin/communication/extranets/documents/kinds/preview.html.erb +++ /dev/null @@ -1,3 +0,0 @@ -<% content_for :title, @post.title %> -<% content_for :image, kamifusen_tag(@post.featured_image) if @post.featured_image.attached? %> -<%= render 'admin/communication/blocks/preview', about: @post %> diff --git a/app/views/admin/communication/extranets/posts/categories/index.html.erb b/app/views/admin/communication/extranets/posts/categories/index.html.erb index 421c1358200a4fba552eb203b200d2fee0a8d24f..a8f70232c95d8a7fe1eb0593b351925e49ca8191 100644 --- a/app/views/admin/communication/extranets/posts/categories/index.html.erb +++ b/app/views/admin/communication/extranets/posts/categories/index.html.erb @@ -5,5 +5,5 @@ <% end %> <% content_for :action_bar_right do %> - <%= create_link Communication::Extranet::Post::Category %> + <%= create_link Communication::Extranet::Document::Category %> <% end %> \ No newline at end of file diff --git a/app/views/admin/communication/extranets/posts/categories/show.html.erb b/app/views/admin/communication/extranets/posts/categories/show.html.erb index fce1b0250007ca65cc9912fcf298bb55e8d33612..b564c8234c32559f70c1c8aef46fef455b0a73e9 100644 --- a/app/views/admin/communication/extranets/posts/categories/show.html.erb +++ b/app/views/admin/communication/extranets/posts/categories/show.html.erb @@ -1,7 +1,7 @@ <% content_for :title, @category %> <%= render 'admin/communication/extranets/sidebar' do %> - <%= osuny_panel Communication::Extranet::Document.model_name.human(count: 2) do %> + <%= osuny_panel Communication::Extranet::Post.model_name.human(count: 2) do %> <%= render 'admin/communication/extranets/posts/list', posts: @posts %> <%= paginate @posts, theme: 'bootstrap-5' %> <% end %>