From c75487fcf5f9db5d323b42372e3cdb0e5685551e Mon Sep 17 00:00:00 2001 From: lizanle <491823689@qq.com> Date: Tue, 29 Sep 2015 14:27:53 +0800 Subject: [PATCH 1/4] =?UTF-8?q?=E9=98=B2=E6=AD=A2=E8=AE=BA=E5=9D=9B?= =?UTF-8?q?=E5=90=8D=E5=AD=97=E5=A4=AA=E9=95=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/layouts/base_forums.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/layouts/base_forums.html.erb b/app/views/layouts/base_forums.html.erb index 87c5b12e5..9faecd964 100644 --- a/app/views/layouts/base_forums.html.erb +++ b/app/views/layouts/base_forums.html.erb @@ -144,7 +144,7 @@
- » 贴吧 » <%= @forum.name%> <%if @memo %> » <%= @memo.subject%><% end %> + » 贴吧 » <%= truncate(@forum.name,:lenght=>32)%> <%if @memo %> » <%= @memo.subject%><% end %>
From cc99120f25c569676ffda13c6fafc9dc924f1880 Mon Sep 17 00:00:00 2001 From: Tim Date: Tue, 29 Sep 2015 14:34:39 +0800 Subject: [PATCH 2/4] =?UTF-8?q?=E8=B4=B4=E5=90=A7=E6=A0=B7=E5=BC=8F?= =?UTF-8?q?=E6=9B=B4=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/forums/_forum_list.html.erb | 2 +- app/views/forums/index.html.erb | 2 +- app/views/layouts/base_forums.html.erb | 10 +++--- public/stylesheets/new_user.css | 43 +++++++++++++++++++++++--- 4 files changed, 46 insertions(+), 11 deletions(-) diff --git a/app/views/forums/_forum_list.html.erb b/app/views/forums/_forum_list.html.erb index 7934a80fe..ec9f4f7de 100644 --- a/app/views/forums/_forum_list.html.erb +++ b/app/views/forums/_forum_list.html.erb @@ -10,7 +10,7 @@ <%=forum.name.gsub(/(\r\n)/,'
').html_safe %>
<%#= link_to forum.name.gsub(/(\r\n|\s+)/,'
'), forum_path(forum),:class=>"f16 linkBlue" %>
-
<%= textAreailizable forum.description%>
+
<%= textAreailizable forum.description%>
diff --git a/app/views/forums/index.html.erb b/app/views/forums/index.html.erb index c31790f30..c2997ac25 100644 --- a/app/views/forums/index.html.erb +++ b/app/views/forums/index.html.erb @@ -135,7 +135,7 @@