From 1f09817e4d7d5a7013688c86fad6246c16d2a0f0 Mon Sep 17 00:00:00 2001 From: huang Date: Tue, 5 Jan 2016 12:59:59 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E8=AF=BE=E7=A8=8B=E8=AE=A8?= =?UTF-8?q?=E8=AE=BA=E5=8C=BA/=E9=A1=B9=E7=9B=AE=E8=AE=A8=E8=AE=BA?= =?UTF-8?q?=E5=B1=95=E5=BC=80=E6=9B=B4=E5=A4=9A=E5=8A=9F=E8=83=BD=20?= =?UTF-8?q?=E5=8D=9A=E5=AE=A2=E5=88=97=E8=A1=A8=E9=A1=B5=E9=9D=A2=E5=B1=95?= =?UTF-8?q?=E5=BC=80=E6=9B=B4=E5=A4=9A=20=E7=BB=9F=E4=B8=80=E5=B1=95?= =?UTF-8?q?=E5=BC=80=E9=AB=98=E5=BA=A6=E4=B8=BA=E4=B8=80=E4=B8=AA=E5=B1=8F?= =?UTF-8?q?=E5=B9=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/blogs/_article.html.erb | 20 ++++++++++------ app/views/blogs/_article_list.html.erb | 24 ++++++++++++------- .../boards/_project_show_detail.html.erb | 24 ++++++++++++------- public/stylesheets/courses.css | 4 ++-- public/stylesheets/new_user.css | 3 ++- public/stylesheets/project.css | 6 ----- public/stylesheets/public.css | 6 ++++- 7 files changed, 52 insertions(+), 35 deletions(-) diff --git a/app/views/blogs/_article.html.erb b/app/views/blogs/_article.html.erb index 33a3201c0..ee20dcd22 100644 --- a/app/views/blogs/_article.html.erb +++ b/app/views/blogs/_article.html.erb @@ -57,13 +57,14 @@
发帖时间:<%= format_time(activity.created_on) %>
- -
- <% if activity.parent_id.nil? %> - <%= activity.content.to_s.html_safe%> - <% else %> - <%= activity.parent.content.to_s.html_safe%> - <% end %> +
+
+ <% if activity.parent_id.nil? %> + <%= activity.content.to_s.html_safe%> + <% else %> + <%= activity.parent.content.to_s.html_safe%> + <% end %> +
@@ -72,6 +73,11 @@ <%= render :partial => 'blog_comments/attachments_links', :locals => {:attachments => activity.attachments, :options => options, :is_float => true} %> <% end %>
+
+ + +
+