From 90c4a38cfc7b85537c5a0c76f0eb9015de323d4f Mon Sep 17 00:00:00 2001
From: sw <939547590@qq.com>
Date: Fri, 26 Jun 2015 17:00:33 +0800
Subject: [PATCH] =?UTF-8?q?=E5=85=AC=E5=85=B1=E8=B4=B4=E5=90=A7=E5=A4=B4?=
=?UTF-8?q?=E5=83=8F=E6=98=BE=E7=A4=BA=E9=97=AE=E9=A2=98?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
app/views/forums/_show_topics.html.erb | 64 ++++++++++---------
.../stylesheets/application.css | 1 +
2 files changed, 35 insertions(+), 30 deletions(-)
diff --git a/app/views/forums/_show_topics.html.erb b/app/views/forums/_show_topics.html.erb
index 9af8538ed..f46600a6c 100644
--- a/app/views/forums/_show_topics.html.erb
+++ b/app/views/forums/_show_topics.html.erb
@@ -4,36 +4,40 @@
<% if memos.any? %>
<% memos.each do |topic| %>
- <%= link_to image_tag(url_to_avatar(topic.author), :class => "avatar"), user_path(topic.author) if topic.author%> |
-
-
-
- <%= link_to h(topic.subject), forum_memo_path(topic.forum, topic) %> |
-
-
-
- <%= link_to (topic.replies_count), forum_memo_path(topic.forum, topic) %> |
-
-
- 回答 |
-
- |
-
-
- |
-
-
- <%= authoring topic.created_at, topic.author %>
-
- <% author = topic.last_reply.try(:author)%>
- <% if author%>
- 最后回复:<%=link_to_user author %>
- <% end%>
-
-
- |
-
- |
+
+
+ <%= link_to image_tag(url_to_avatar(topic.author), :class => "avatar"), user_path(topic.author) if topic.author%>
+ |
+
+
+
+ <%= link_to h(topic.subject), forum_memo_path(topic.forum, topic) %> |
+
+
+
+ <%= link_to (topic.replies_count), forum_memo_path(topic.forum, topic) %> |
+
+
+ 回答 |
+
+ |
+
+
+ |
+
+
+ <%= authoring topic.created_at, topic.author %>
+
+ <% author = topic.last_reply.try(:author)%>
+ <% if author%>
+ 最后回复:<%=link_to_user author %>
+ <% end%>
+
+
+ |
+
+
+ |
<% end %>
diff --git a/public/themes/redpenny-master/stylesheets/application.css b/public/themes/redpenny-master/stylesheets/application.css
index 95092aa1d..02626f440 100644
--- a/public/themes/redpenny-master/stylesheets/application.css
+++ b/public/themes/redpenny-master/stylesheets/application.css
@@ -1635,6 +1635,7 @@ img.avatar {
display: block;
width: 38px;
height: 38px;
+ max-width: none;
}