fix ntue sub menu link target

This commit is contained in:
Spen 2013-10-04 16:02:14 +08:00
parent 9f779f1f71
commit ebdf124d06
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@
<ul class='list'> <ul class='list'>
<% @menu_page.visible_children.each do |child| %> <% @menu_page.visible_children.each do |child| %>
<li class="<%= @page_id.eql?(child.id) ? 'active' : nil %>"> <li class="<%= @page_id.eql?(child.id) ? 'active' : nil %>">
<a href="<%= (child.class.to_s.eql?('Page') ? '/' + child.path : child.url) %>"><%= child.title %></a> <a href="<%= (child.class.to_s.eql?('Page') ? '/' + child.path : child.url) %>" <%= "target=_blank" if child.class.to_s.eql?('Page').blank? %> ><%= child.title %></a>
</li> </li>
<% end %> <% end %>
</ul> </ul>