if options[:dashboard]
link_to(name || resource.name, params.merge({:controller => 'dashboard', :action => 'index', :id => resource.id, :period => period_index,
:tab => options[:tab], :rule => options[:rule]}), :title => options[:title])
- elsif options[:filter]
- link_to(name || resource.name, params.merge({:controller => 'dashboard', :action => 'index', :did => nil, :id => resource.id, :period => period_index,
- :tab => options[:tab], :rule => options[:rule]}), :title => options[:title])
else
# stay on the same page (for example components)
link_to(name || resource.name, params.merge({:id => resource.id, :period => period_index, :tab => options[:tab], :rule => options[:rule]}), :title => options[:title])
<% if logged_in? || @snapshot %>
<div class="line-block">
<% if logged_in? %>
- <ul class="operations">
+ <ul class="operations noprint">
<% if back %>
<li><%= link_to message('dashboard.back_to_dashboard'), dashboard_action(:index) -%></li>
<% else %>