diff --git a/app/views/admins/departments/shared/_department_item.html.erb b/app/views/admins/departments/shared/_department_item.html.erb index 2f39d6248..11584909d 100644 --- a/app/views/admins/departments/shared/_department_item.html.erb +++ b/app/views/admins/departments/shared/_department_item.html.erb @@ -14,7 +14,13 @@ <%= render partial: 'admins/departments/shared/member_users', locals: { department: department } %> -<%= link_to department.identifier.to_s, '#', target: '_blank' %> + + <% if department.identifier.present? %> + <%= link_to department.identifier.to_s, statistics_college_path(department.identifier), target: '_blank' %> + <% else %> + -- + <% end %> + <%= department.host_count %> <%= department.created_at&.strftime('%Y-%m-%d %H:%M') %>