讨论区留言编辑修改
This commit is contained in:
parent
e17090d506
commit
f0b016bcbe
|
@ -19,7 +19,12 @@
|
|||
|
||||
<% if !replying && !@message.new_record? && @message.safe_attribute?('board_id') %>
|
||||
<p><label><%= l(:label_board) %></label><br />
|
||||
<%# modify by nwb%>
|
||||
<% if @message.project %>
|
||||
<%= f.select :board_id, boards_options_for_select(@message.project.boards) %></p>
|
||||
<% elsif @message.course %>
|
||||
<%= f.select :board_id, boards_options_for_select(@message.course.boards) %></p>
|
||||
<% end %>
|
||||
<% end %>
|
||||
|
||||
<p>
|
||||
|
|
|
@ -1,4 +1,8 @@
|
|||
<% if @message.project %>
|
||||
<%= board_breadcrumb(@message) %>
|
||||
<% elsif @message.course %>
|
||||
<%= course_board_breadcrumb(@message) %>
|
||||
<% end %>
|
||||
|
||||
<h3><%= avatar(@topic.author, :size => "24") %><%=h @topic.subject %></h3>
|
||||
|
||||
|
|
Loading…
Reference in New Issue