one more time
This commit is contained in:
parent
d77fed5d34
commit
d882dde164
|
@ -0,0 +1,42 @@
|
|||
<!-- added by fq -->
|
||||
<div style="padding-top: 10px">
|
||||
<% if forums.any? %>
|
||||
<% forums.each do |forum| %>
|
||||
<table class="content-text-list">
|
||||
<tr>
|
||||
<td colspan="2" valign="top" width="50" ><%= link_to image_tag(url_to_avatar(forum.creator), :class => "avatar"), user_path(forum.creator) %></td>
|
||||
<td>
|
||||
<table width="650px" border="0">
|
||||
<tr>
|
||||
<td valign="top" width="500px"><%= link_to h(forum.name), forum_path(forum) %></td>
|
||||
<td align="right" rowspan="3">
|
||||
<table class="borad-count">
|
||||
<tr>
|
||||
<td align="center" class="borad-count-digit"><%= link_to (forum.topic_count), forum_path(forum) %></td>
|
||||
<td align="center" class="borad-count-digit"><%= link_to (forum.memo_count), forum_path(forum) %></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center">帖子</td>
|
||||
<td align="center">回答</td>
|
||||
</tr>
|
||||
</table></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2" ><span class="font_description"><%= forum.description%></span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2" ><span class="font_description">标签~~~~~~~~~~</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left" colspan="2" ><span class="font_lighter"><%= authoring forum.created_at, forum.creator %>
|
||||
<br />
|
||||
</span></td>
|
||||
</tr>
|
||||
</table></td>
|
||||
</tr>
|
||||
</table>
|
||||
<% end %>
|
||||
<div class="pagination"><%= pagination_links_full @forums_pages, @forums_count %></div>
|
||||
<% else %>
|
||||
<% end %>
|
||||
</div>
|
Loading…
Reference in New Issue