app/views/dashboard/_sidebar.html.erb in iqvoc-4.3.3 vs app/views/dashboard/_sidebar.html.erb in iqvoc-4.4.0
- old
+ new
@@ -1,15 +1,12 @@
<%= sidebar do %>
<%= sidebar_header 'Links' %>
<% Iqvoc.first_level_classes.each do |klass| %>
<%= sidebar_item { render(klass.new_link_partial_name) } %>
<% end %>
- <%= sidebar_header t('txt.views.dashboard.full_rdf_export') %>
- <%= sidebar_item(:icon => 'cloud-download', :text => "RDF/Turtle", :path => concepts_url(:format => :ttl),
- :perms => [:full_export, Concept::Base]) %>
- <%= sidebar_item(:icon => 'cloud-download', :text => "RDF/XML", :path => concepts_url(:format => :rdf),
- :perms => [:full_export, Concept::Base]) %>
<%= sidebar_header 'Extras' %>
+ <%= sidebar_item(:icon => :download, :text => t('txt.views.dashboard.export'),
+ :path => exports_path, :active => params[:controller] == 'exports', :perms => [:export, Concept::Base]) %>
<%= sidebar_item(:icon => :upload, :text => t('txt.views.dashboard.import'),
:path => imports_path, :active => params[:controller] == 'imports', :perms => [:import, Concept::Base]) %>
<%= sidebar_item(:icon => :eraser, :text => t('txt.views.dashboard.reset'),
:path => reset_path, :active => params[:action] == "reset",
:perms => [:reset, :thesaurus]) %>