|
|
|
@ -129,7 +129,7 @@
|
|
|
|
|
<%= image_tag url_to_avatar(event.event_author), :class => "avatar-3" %>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="inner-right" style="float: right; width:86%; height: 100%; ">
|
|
|
|
|
<span style="color: green;"><%= link_to event.event_author, user_path(event.event_author), :style => "color:green;" %></span> 发表了<%= find_all_event_type event %>:<span style="color: blue;"><%= link_to truncate(event.event_description, length: 30, omission:'...'), event.event_url %>
|
|
|
|
|
<span style="color: green;"><%= link_to event.event_author, user_path(event.event_author), :style => "color:green;" %></span> 发表了<%= find_all_event_type event %>:<span style="color: blue;"><%= link_to truncate(event.event_title, length: 30, omission:'...'), event.event_url %>
|
|
|
|
|
</span>
|
|
|
|
|
<p><span style="color: rgb(172, 174, 177)"><%= time_tag_welcome event.event_datetime %>前</span> <!-- <span>评论(4)</span></p> -->
|
|
|
|
|
</div>
|
|
|
|
@ -151,7 +151,7 @@
|
|
|
|
|
<div style="float: left; margin-left: 10px; width: 360px;">
|
|
|
|
|
<p class="layout">
|
|
|
|
|
<%= link_to( project.name, project_path(project.project_id), :class => "d-g-blue d-p-project-name", :title => "#{project.name}")%>
|
|
|
|
|
<span style="display: inline-block; float: right; color: red; background: url('/images/score.png') no-repeat scroll ;background-position: left center;" title="项目得分"> <%= show_grade project %></span>
|
|
|
|
|
<span style="display: inline-block; float: right; color: #ec6300; background: url('/images/score.png') no-repeat scroll ;background-position: left center;" title="项目得分"> <%= show_grade project %></span>
|
|
|
|
|
</p>
|
|
|
|
|
<p class="layout-1" >
|
|
|
|
|
<!-- <span class="d-p-project-intro" ><%= project.description.truncate(50, omission: '...') %></span> -->
|
|
|
|
@ -221,7 +221,7 @@
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="clr"></div>
|
|
|
|
|
<div class="clr">
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|