ID为2528的项目描述显示有问题
This commit is contained in:
parent
3e705fabb8
commit
c0508fcfbe
|
@ -1,4 +1,4 @@
|
|||
<h2>项目简介
|
||||
<h2 style="background: #fff; font-size: 14px; color: #333; height: 40px; line-height: 40px; padding-left: 15px; border-bottom:1px solid #e5e5e5;">项目简介
|
||||
<% if User.current.member_of?(@project) %>
|
||||
<span class="fr mr15" id="project_invite_code">邀请码:<span style="color: #333;"><%= @project.invite_code %></span></span>
|
||||
<% end %>
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
<!--新版项目头部结束-->
|
||||
<div class="ke-block pro_new_info mb10 " style="padding-bottom: 5px;word-break: normal;word-wrap: break-word" >
|
||||
<div class="ke-block pro_description_new_info mb10 " style="padding-bottom: 5px;word-break: normal;word-wrap: break-word" >
|
||||
<div id="project_invite_code"><%= render :partial => 'projects/invite_code' %></div>
|
||||
<div id="project_description_code" style="padding: 0 15px 10px 15px;font-size: 14px;">
|
||||
<% if @project.description.blank? %>
|
||||
<p style="padding-top:5px"><%= @project.name %></p>
|
||||
<% else %>
|
||||
<p style="padding-top:5px"><%=h @project.description.html_safe %></p>
|
||||
<p style="padding-top:5px"><%= h @project.description.html_safe %></p>
|
||||
<% end %>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -433,6 +433,7 @@ a:hover.btn_newpro_grey,a:active.btn_newpro_grey{ background: #eaeaea;}
|
|||
/*项目简介*/
|
||||
.pro_new_info{ border:1px solid #ddd; background-color:#fff;}
|
||||
.pro_new_info h2{ background: #fff; font-size: 14px; color: #333; height: 40px; line-height: 40px; padding-left: 15px; border-bottom:1px solid #e5e5e5;}
|
||||
.pro_description_new_info{ border:1px solid #ddd; background-color:#fff;}
|
||||
/*.pro_new_info p{ padding-bottom:2px; padding-left: 15px; color: #666; padding-right: 5px}*/
|
||||
.pro_new_info_weight{ font-size: 16px; font-weight: bold;}
|
||||
/* 新版项目配置*/
|
||||
|
|
Loading…
Reference in New Issue