添加浏览次数

This commit is contained in:
fanqiang 2014-04-08 20:42:11 +08:00
parent cf0604bd84
commit a426cf46de
2 changed files with 11 additions and 2 deletions

View File

@ -73,7 +73,7 @@
<tr class="font_aram"> <tr class="font_aram">
<td align="center" width="70px"> 贡献者</td> <td align="center" width="70px"> 贡献者</td>
<td align="center" width="100px">讨论</td> <td align="center" width="100px">讨论</td>
<td align="center" width="70px"> <%= l(:label_project_issues) %></td> <td align="center" width="70px"> 代码提交</td>
<!-- <td align="center" width="58px"><%= l(:label_attachment) %></td> --> <!-- <td align="center" width="58px"><%= l(:label_attachment) %></td> -->
</tr> </tr>
</table> </table>

View File

@ -23,6 +23,15 @@
<td align="center">回答</td> <td align="center">回答</td>
</tr> </tr>
</table></td> </table></td>
<td align="right" rowspan="3">
<table class="borad-count">
<tr>
<td align="center" class="borad-count-digit"><%= link_to (topic.viewed_count_crawl+topic.viewed_count_local), forum_memo_path(topic.open_source_project, topic) %></td>
</tr>
<tr>
<td align="center">浏览</td>
</tr>
</table></td>
</tr> </tr>
<tr> <tr>
<td colspan="2" ><span class="font_description"> </span></td> <td colspan="2" ><span class="font_description"> </span></td>
@ -33,7 +42,7 @@
</span></td> </span></td>
</tr> </tr>
<tr> <tr>
<td align="left" colspan="2" ><span class="font_lighter"><%= @open_source_project.url%> </span></td> <td align="left" colspan="2" ><span class="font_lighter">帖子来源:<%= link_to @open_source_project.url, @open_source_project.url%> </span></td>
<td align="left"><%= no_use_link(topic, User.current) %> </td> <td align="left"><%= no_use_link(topic, User.current) %> </td>
</tr> </tr>
<tr> <tr>