Sha256: e708c482ca79d7bae05bc10eb13ed9a9c87107bf2974a0ea04fe4bd6c9552e66
Contents?: true
Size: 607 Bytes
Versions: 11
Compression:
Stored size: 607 Bytes
Contents
<% links = [] current_tab ||= "" [["Translation Keys", {:action => :index}], ["Comments", {:action => :comments}], ["Locks", {:action => :locks}], ["Sync Logs", {:action => :sync_logs}] ].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
11 entries across 11 versions & 1 rubygems