diff --git a/app/views/admin/education/programs/_treebranch.html.erb b/app/views/admin/education/programs/_treebranch.html.erb index 4e34bcf589c0a586d6cc14d488e6dcf18b4690a8..d4bd20c4d1f62409196a06eba1117bd134ddbc42 100644 --- a/app/views/admin/education/programs/_treebranch.html.erb +++ b/app/views/admin/education/programs/_treebranch.html.erb @@ -13,7 +13,8 @@ </span> <% end %> <%= link_to program, - admin_education_program_path(id: program.id) %> + admin_education_program_path(id: program.id), + class: "#{'opacity-50' unless program.published?}" %> <span class="move_btn py-2 ps-2"><i class="fas fa-sort"></i></span> <%= link_to children_admin_education_program_path(id: program.id), class: 'js-treeview-openzone small ps-2', remote: true do %>