Sha256: 79fe40d0c3ce1cc8bf18b383953aa84cc1658f9254b58cb5b761313a3dfe7a7f
Contents?: true
Size: 685 Bytes
Versions: 15
Compression:
Stored size: 685 Bytes
Contents
<% links = [] current_tab ||= "" [["Translators", {:action => :index}], ["Following", {:action => :following}], ["Reports", {:action => :reports}], ["Log", {:action => :log}], ["Metrics", {:action => :metrics}], ["Ip Locations", {:action => :ip_locations}] ].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;"> <%=links.join(" | ").html_safe%> </span> <%=current_tab %> </div>
Version data entries
15 entries across 15 versions & 1 rubygems