diff --git a/app/views/admin/research/journal/volumes/show.html.erb b/app/views/admin/research/journal/volumes/show.html.erb index 0358c736d9702f41ca43f52d1d5749c004ed705c..4bb40ed2f5e79bcf59bc6a13515e59a067e62ecd 100644 --- a/app/views/admin/research/journal/volumes/show.html.erb +++ b/app/views/admin/research/journal/volumes/show.html.erb @@ -10,6 +10,28 @@ <%= @volume.published_at&.to_date %> </p> +<table class="table"> + <thead> + <tr> + <th><%= Research::Journal::Article.model_name.human %></th> + <th>Published at</th> + <th></th> + </tr> + </thead> + <tbody> + <% @volume.articles.each do |article| %> + <tr> + <td><%= link_to article, [:admin, article] %></td> + <td><%= article.published_at %></td> + <td class="text-end"> + <%= edit_link article %> + <%= destroy_link article %> + </td> + </tr> + <% end %> + </tbody> +</table> + <% content_for :buttons do %> <%= edit_link @volume %> <% end %>