修改项目展示界面中bug的链接问题,将会重新打开页面

This commit is contained in:
fanqiang 2014-05-29 19:54:38 +08:00
parent 91d61502a2
commit d17ce35596
2 changed files with 2 additions and 2 deletions

View File

@ -18,7 +18,7 @@
<% if topic.url.nil? || topic.url == '' %>
<%= link_to h(topic.subject), open_source_project_relative_memo_path(open_source_project, topic) %>
<% else %>
<%= link_to h(topic.subject), topic.url %>
<%= link_to h(topic.subject), topic.url, :target => '_blank' %>
<% end %></td>
<td align="right" rowspan="3">
<table class="borad-count">

View File

@ -26,7 +26,7 @@
<div class="li_list" style="margin-top:10px;margin-left:10px">
<ul style="list-style-type: square;">
<% @bugs.each do |bug| %>
<li><span class="li_time">>[<%= show_description(bug, open_source_project) %>]</span><%= link_to bug.subject, bug.url %></li>
<li><span class="li_time">>[<%= show_description(bug, open_source_project) %>]</span><%= link_to bug.subject, bug.url, :target => '_blank' %></li>
<% end %>
</ul>
</div>