Sha256: f07d0925a8815fbb16be46dc5b4bf29335e6365b6365ba7fc1adfb346e413686
Contents?: true
Size: 644 Bytes
Versions: 4
Compression:
Stored size: 644 Bytes
Contents
<% links = [] current_tab ||= "" [ ["Application Metrics", {:action => :index}], ["Usage Metrics", {:action => :usage}], ["Rollup Log", {:action => :rollup_log}], ["Application Log", {:action => :application_log}], ].each do |link| if controller.action_name == link.last[:action].to_s current_tab = link.first if current_tab.blank? links << link.first else links << link_to(link.first, link.last) end end %> <div class="section_title"> <span style="font-size:12px; float:right; padding-top:5px;"> <%=raw(links.join(" | "))%> </span> <%=current_tab %> </div>
Version data entries
4 entries across 4 versions & 1 rubygems