diff --git a/app/views/projects/show.html.erb b/app/views/projects/show.html.erb index b32ec6a3a..f9a88baf8 100644 --- a/app/views/projects/show.html.erb +++ b/app/views/projects/show.html.erb @@ -1,11 +1,13 @@ -
+
<%= render :partial => 'projects/invite_code' %>
+
<% if @project.description.blank? %> -

<%= @project.name %>

+

<%= @project.name %>

<% else %> -

<%=h @project.description.html_safe %>

+

<%=h @project.description.html_safe %>

<% end %> +
@@ -34,4 +36,7 @@
<%= render :partial => "project_activities", :locals => {:forge_acts => @events_pages, :page => 0, :type => @type} %> - \ No newline at end of file + + \ No newline at end of file diff --git a/public/stylesheets/css/project.css b/public/stylesheets/css/project.css index 667c91863..ead88aef7 100644 --- a/public/stylesheets/css/project.css +++ b/public/stylesheets/css/project.css @@ -887,7 +887,7 @@ a:hover.btn_newpro_grey,a:active.btn_newpro_grey{ background: #eaeaea;} /*项目简介*/ .pro_new_info{ border:1px solid #ddd; background-color:#fff; width: 998px;} .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_new_info p{ padding-bottom:2px; padding-left: 5px; color: #666; padding-right: 5px} +.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;} /* 新版项目配置*/ .pro_new_setting_leftnav{ width: 162px; border:1px solid #ddd; background-color:#fff; padding:3px; padding-bottom: 0;} @@ -1030,4 +1030,4 @@ textarea.muban_textarea{ width: 98.5%;border:1px solid #ddd; background:#fff; co a.pro_new_users { max-width:80px; overflow:hidden;overflow:hidden;text-overflow:ellipsis;white-space:nowrap; word-break:break-all; display: inline-block; font-weight: bold; color: #666;} a:hover.pro_new_users {color: #3b94d6} .pro_new_users img{ width:40px;height:40px; border: 3px solid #fff;-webkit-border-radius:50px;-moz-border-radius:50px;-o-border-radius:50px;border-radius:50px;} -.pro_new_users img:hover{border: 3px solid #e6e6e6;} +.pro_new_users img:hover{border: 3px solid #e6e6e6;}