app/views/dashboard/_sidebar.html.erb in iqvoc-4.2.0 vs app/views/dashboard/_sidebar.html.erb in iqvoc-4.3.0
- old
+ new
@@ -2,15 +2,18 @@
<%= 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 => :download, :text => "RDF/Turtle", :path => concepts_url(:format => :ttl),
+ <%= sidebar_item(:icon => 'cloud-download', :text => "RDF/Turtle", :path => concepts_url(:format => :ttl),
:perms => [:full_export, Concept::Base]) %>
- <%= sidebar_item(:icon => :download, :text => "RDF/XML", :path => concepts_url(:format => :rdf),
+ <%= sidebar_item(:icon => 'cloud-download', :text => "RDF/XML", :path => concepts_url(:format => :rdf),
:perms => [:full_export, Concept::Base]) %>
<%= sidebar_header 'Extras' %>
<%= sidebar_item(:icon => :upload, :text => t('txt.views.dashboard.import'),
- :path => import_url, :active => params[:controller] == 'import', :perms => [:import, Concept::Base]) %>
- <%= sidebar_item(:icon => :repeat, :text => t('txt.views.triplestore_sync.caption'),
+ :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]) %>
+ <%= sidebar_item(:icon => :refresh, :text => t('txt.views.triplestore_sync.caption'),
:path => triplestore_sync_path, :active => params[:controller] == "triplestore_sync") %>
<% end %>