From 23c1ac5a4a4c2c289be0e0158b83a260e0c7cac2 Mon Sep 17 00:00:00 2001 From: cxt Date: Mon, 31 Aug 2015 14:28:43 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A1=B9=E7=9B=AE=E9=97=AE=E9=A2=98=E7=9A=84?= =?UTF-8?q?=E5=8A=A8=E6=80=81=E5=86=85=E5=AE=B9=E6=98=BE=E7=A4=BA=E8=B6=85?= =?UTF-8?q?=E5=87=BA=E8=BE=B9=E6=A1=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/users/_project_issue.html.erb | 7 ++++++- public/stylesheets/new_user.css | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/app/views/users/_project_issue.html.erb b/app/views/users/_project_issue.html.erb index 351ca3dfe..8c374d2d7 100644 --- a/app/views/users/_project_issue.html.erb +++ b/app/views/users/_project_issue.html.erb @@ -28,7 +28,12 @@
时间:<%=format_date(activity.created_on) %>
-
缺陷描述:<%= activity.description.html_safe %>
+
缺陷描述: + <% if activity.description? %> + <%= textAreailizable activity, :description, :attachments => activity.attachments %> + <% end %> + <%#= activity.description.html_safe %> +
<% if activity.attachments.any? %> <% activity.attachments.each do |attachment| %> diff --git a/public/stylesheets/new_user.css b/public/stylesheets/new_user.css index 357cfff6b..d3ae2a18b 100644 --- a/public/stylesheets/new_user.css +++ b/public/stylesheets/new_user.css @@ -953,7 +953,7 @@ img.ui-datepicker-trigger { .is_public_checkbox{display: none !important;} .is_public{display: none !important;} .ui-corner-left{background: #64bdd9;} - +.homepagePostIntro img{max-width: 100%;}