diff --git a/app/views/homework_attach/_review.html.erb b/app/views/homework_attach/_review.html.erb index 1666d8a43..921f16c8e 100644 --- a/app/views/homework_attach/_review.html.erb +++ b/app/views/homework_attach/_review.html.erb @@ -36,7 +36,8 @@ <% end %>
-

<%= textilizable jour.nil? ? "" : jour.notes%>

+ <% notes = textilizable(jour.nil? ? "" : jour.notes)%> + <%= notes.empty? ? "

".html_safe : notes%> <% unless jour.nil? %> <% ids = 'project_respond_form_'+ jour.id.to_s%> diff --git a/public/stylesheets/css.css b/public/stylesheets/css.css index 2efec2bbf..9bda2b7eb 100644 --- a/public/stylesheets/css.css +++ b/public/stylesheets/css.css @@ -118,7 +118,7 @@ a:hover.ping_sub{ background:#14a8b9;} .ping_dispic img{ height:46px; width:46px;} .ping_discon{ float:left; width:350px; margin-left:15px;} .ping_distop span{ float:left;} -.ping_distop p{ color:#5f5f5f;} +.ping_distop p{ color:#5f5f5f;min-height: 24px;} .ping_disfoot a{ float:right; color:#15bccf; margin-left:5px;} .ping_distop span a{ float:right; /*width:20px;*/ height:20px; background:url(images/star.png) -24px 0 no-repeat; margin-right:3px;}