修改帖子显示数字错误

修改来源显示错误问题
This commit is contained in:
fanqiang 2014-05-27 16:42:22 +08:00
parent 4c3e2376f0
commit 06a775e3f9
2 changed files with 3 additions and 3 deletions

View File

@ -2,7 +2,7 @@
<!--display the board-->
<div class="borad-topic-count" style="margin-top:10px">
<span>共有 <%= link_to memos.count %> 个贴子 </span
<span>共有 <%= link_to @topic_count %> 个贴子 </span
</div>
<div style="padding-top: 10px">
<% if memos.any? %>
@ -59,7 +59,7 @@
</span></td>
</tr>
<tr>
<td align="left">帖子来源:<span class="font_lighter" style="color: #068d9c"><%=link_to 'OSChina', topic.url %>
<td align="left">帖子来源:<span class="font_lighter" style="color: #068d9c"><%=link_to topic.topic_resource, topic.url %>
</span></td>
<td colspan="3" align="center"><%= no_use_link(topic, User.current) %> </td>
</tr>

View File

@ -2,7 +2,7 @@
<!--display the board-->
<div class="borad-topic-count" style="margin-top:10px">
<span>共有 <%= link_to memos.count %> 个贴子 </span
<span>共有 <%= link_to @topic_count %> 个贴子 </span
</div>
<div style="padding-top: 10px">
<% if memos.any? %>