From 0f9a82637ec5ecbb8c60cee60f50679c35008f4d Mon Sep 17 00:00:00 2001
From: sw <939547590@qq.com>
Date: Thu, 18 Dec 2014 15:58:33 +0800
Subject: [PATCH] =?UTF-8?q?#1716=20=E8=AF=BE=E7=A8=8B=E8=AE=A8=E8=AE=BA?=
=?UTF-8?q?=E5=8C=BA-=E5=8F=91=E5=B8=83=E6=96=B0=E8=B4=B4=E7=82=B92?=
=?UTF-8?q?=E6=AC=A1=E6=89=8D=E8=83=BD=E6=88=90=E5=8A=9F?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
app/views/boards/_course_show.html.erb | 5 +----
app/views/messages/new.html.erb | 12 ++++++++++--
2 files changed, 11 insertions(+), 6 deletions(-)
diff --git a/app/views/boards/_course_show.html.erb b/app/views/boards/_course_show.html.erb
index 7a7d001ed..eac85e2d7 100644
--- a/app/views/boards/_course_show.html.erb
+++ b/app/views/boards/_course_show.html.erb
@@ -1,10 +1,7 @@
diff --git a/app/views/messages/new.html.erb b/app/views/messages/new.html.erb
index 202634238..04ea99745 100644
--- a/app/views/messages/new.html.erb
+++ b/app/views/messages/new.html.erb
@@ -1,7 +1,15 @@
<% if @project %>
-
<%= link_to h(@board.name), :controller => 'boards', :action => 'show', :project_id => @project, :id => @board %> » <%= l(:label_message_new) %>
+
+ <%= link_to h(@board.name), :controller => 'boards', :action => 'show', :project_id => @project, :id => @board %>
+ »
+ <%= l(:label_message_new) %>
+
<% elsif @course %>
- <%= link_to h(@board.name), :controller => 'boards', :action => 'show', :course_id => @course, :id => @board %> » <%= l(:label_message_new) %>
+
+ <%= link_to h(@board.name), :controller => 'boards', :action => 'show', :course_id => @course, :id => @board %>
+ »
+ <%= l(:label_message_new) %>
+
<% end %>
<%= form_for @message, :url => {:action => 'new'}, :html => {:multipart => true, :id => 'message-form'} do |f| %>