fix ntue sub menu link target

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

View File

@ -4,7 +4,7 @@
<ul class='list'>
<% @menu_page.visible_children.each do |child| %>
<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>
<% end %>
</ul>