|
|
@ -1,7 +1,15 @@
|
|
|
|
<% if @project %>
|
|
|
|
<% if @project %>
|
|
|
|
<h3><%= link_to h(@board.name), :controller => 'boards', :action => 'show', :project_id => @project, :id => @board %> » <%= l(:label_message_new) %></h3>
|
|
|
|
<h3>
|
|
|
|
|
|
|
|
<%= link_to h(@board.name), :controller => 'boards', :action => 'show', :project_id => @project, :id => @board %>
|
|
|
|
|
|
|
|
»
|
|
|
|
|
|
|
|
<%= l(:label_message_new) %>
|
|
|
|
|
|
|
|
</h3>
|
|
|
|
<% elsif @course %>
|
|
|
|
<% elsif @course %>
|
|
|
|
<h3><%= link_to h(@board.name), :controller => 'boards', :action => 'show', :course_id => @course, :id => @board %> » <%= l(:label_message_new) %></h3>
|
|
|
|
<h3>
|
|
|
|
|
|
|
|
<%= link_to h(@board.name), :controller => 'boards', :action => 'show', :course_id => @course, :id => @board %>
|
|
|
|
|
|
|
|
»
|
|
|
|
|
|
|
|
<%= l(:label_message_new) %>
|
|
|
|
|
|
|
|
</h3>
|
|
|
|
<% end %>
|
|
|
|
<% end %>
|
|
|
|
|
|
|
|
|
|
|
|
<%= form_for @message, :url => {:action => 'new'}, :html => {:multipart => true, :id => 'message-form'} do |f| %>
|
|
|
|
<%= form_for @message, :url => {:action => 'new'}, :html => {:multipart => true, :id => 'message-form'} do |f| %>
|
|
|
|