diff --git a/app/views/welcome/index.html.erb b/app/views/welcome/index.html.erb index 43f458325..2cf87a6de 100644 --- a/app/views/welcome/index.html.erb +++ b/app/views/welcome/index.html.erb @@ -70,7 +70,8 @@ <%= javascript_tag "$('#password').focus();" %> <% else %> <%= javascript_tag "$('#username').focus();" %> - <% end %> + <% end %> + @@ -102,12 +103,9 @@

论坛热帖

<% find_hot_forum_topics.each do |topic|%> -
  • -
    - -
    -
    - <%= link_to topic.subject.truncate(30, omission: '...'), forum_memo_path(topic.forum_id,topic.id), :class => "gray" %> +
  • +
    +      <%= link_to topic.subject.truncate(30, omission: '...'), forum_memo_path(topic.forum_id,topic.id), :class => "gray" %> <%= link_to topic.author, user_path(topic.author) %> @@ -151,7 +149,7 @@

    <%= link_to( project.name, project_path(project.project_id), :class => "d-g-blue d-p-project-name", :title => "#{project.name}")%> -     <%= show_grade project %> +     <%= show_grade project %>

    <%= content_tag "span", project.description.truncate(50, omission: '...'), :class => "d-p-project-intro" , :title => project.description %>