Sha256: 9520fad2cb8cc5cb95857747ef108e6bdd1f394ee809d17d3d1fe832bd72cc9d

Contents?: true

Size: 997 Bytes

Versions: 2

Compression:

Stored size: 997 Bytes

Contents

<%= sidebar do %>
  <%= sidebar_header 'Links' %>
  <% Iqvoc.first_level_classes.each do |klass| %>
    <%= sidebar_item { render(klass.new_link_partial_name) } %>
  <% end %>
  <%= sidebar_header 'Extras' %>

  <%= sidebar_item(:icon => :upload, :text => t('txt.views.dashboard.import'),
    :path => imports_path, :active => params[:controller] == 'imports', :perms => [:import, Concept::Base]) %>

  <%= sidebar_item(:icon => :download, :text => t('txt.views.dashboard.export'),
    :path => exports_path, :active => params[:controller] == 'exports', :perms => [:export, Concept::Base]) %>

  <%= sidebar_item(:icon => :refresh, :text => t('txt.views.triplestore_sync.caption'),
     :path => triplestore_sync_path, :active => params[:controller] == "triplestore_sync", :perms => [:sync, :triplestore]) %>

  <%= sidebar_item(:icon => :eraser, :text => t('txt.views.dashboard.reset'),
    :path => reset_path, :active => params[:action] == "reset", :perms => [:reset, :thesaurus]) %>
<% end %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
iqvoc-4.12.1 app/views/dashboard/_sidebar.html.erb
iqvoc-4.12.0 app/views/dashboard/_sidebar.html.erb