+
<%= image_tag url_to_avatar(event.event_author), :class => "avatar-3" %>
-
-
<%= link_to event.event_author, user_path(event.event_author), :style => "color:green;" %> 发表了<%= event.event_type %>:
<%= link_to truncate(event.event_description, length: 30, omission:'...'), event.event_url %>
+
+
<%= link_to event.event_author, user_path(event.event_author), :style => "color:green;" %> 发表了<%= find_all_event_type event %>:
<%= link_to truncate(event.event_description, length: 30, omission:'...'), event.event_url %>
-
<%= time_tag_welcome event.event_datetime %>前
+
<%= time_tag_welcome event.event_datetime %>前
<% end %>
@@ -141,13 +146,19 @@
<% find_all_hot_project.map do |project| break if(project == find_all_hot_project[15]) %>
-
-
- <%= link_to( project.name, project_path(project.project_id), :class => "d-g-blue d-p-project-name", :target => "_blank", :title => "#{project.name}")%>
-
-
- <%= project.description.truncate(50, omission: '...') %>
-
+
+ <%= image_tag url_to_avatar(project), :class => "avatar-4" %>
+
+
+
+ <%= link_to( project.name, project_path(project.project_id), :class => "d-g-blue d-p-project-name", :target => "_blank", :title => "#{project.name}")%>
+
+
+ <%= project.description.truncate(50, omission: '...') %>
+
+
+
<% end %>
diff --git a/public/images/list-icon.png b/public/images/list-icon.png
new file mode 100644
index 00000000..930d6aae
Binary files /dev/null and b/public/images/list-icon.png differ
diff --git a/public/stylesheets/welcome.css b/public/stylesheets/welcome.css
index 4da85ce3..bd8ec1d9 100644
--- a/public/stylesheets/welcome.css
+++ b/public/stylesheets/welcome.css
@@ -155,7 +155,7 @@ li {
color: #999999;
background: center -1px no-repeat;
line-height: 20px;
- padding: 0px 9px;
+ padding: 5px 5px 0px 9px;
width: 440px;
cursor: pointer;
font: 12px/1.5 tahoma,arial,\5b8b\4f53;
@@ -196,8 +196,13 @@ p.layout {
height: 40px;
margin-top: 5px;
}
-acronym {
- text-decoration: none;
+.message-brief-intro .gray{
+ color: gray;
+}
+
+.avatar-4 {
+ width: 45px;
+ height: 45px;
}
/*p.clr, .clr { clear:both; padding:0; margin:0; background:none;}*/