app/views/concepts/hierarchical/index.html.erb in iqvoc-4.4.0 vs app/views/concepts/hierarchical/index.html.erb in iqvoc-4.5.0

- old
+ new

@@ -1,5 +1,9 @@ <%= page_header :title => Iqvoc::Concept.base_class.model_name.human(:count => 2), :desc => t('txt.views.navigation.hierarchical') %> <%= render 'concepts/sidebars/plural' %> -<%= treeview @concepts %> +<% if params[:published] == '0' %> + <%= render "concepts/hierarchical/treeview", concepts: @concepts, broader: false, dragabble: true %> +<% else %> + <%= treeview @concepts %> +<% end %>