This commit is contained in:
yanxd 2013-12-17 09:30:24 +08:00
parent fcfb8ea270
commit 10c37b4693
1 changed files with 2 additions and 2 deletions

View File

@ -45,10 +45,10 @@
</div> </div>
<div class="replies"> <div class="replies">
<h3 class="comments"><%= l(:label_reply_plural) %> (<%= @replies.nil? ? 0 : @replies.size %>)</h3> <h3 class="comments"><%= l(:label_reply_plural) %> (<%= @replies.nil? ? 0 : @replies.size %>)</h3>
<% reply_count = @current_count.to_i %> <% pages_count = (params['page'].to_i - 1) * 10 %>
<% @replies.each do |reply| %> <% @replies.each do |reply| %>
<div class="reply" id="<%= "reply-#{reply.id}" %>"> <div class="reply" id="<%= "reply-#{reply.id}" %>">
<p class="font_lighter"><%= reply_count += 1 %>楼 :</p> <p class="font_lighter"><%= pages_count += 1 %>楼 :</p>
<div class="contextual-borad"> <div class="contextual-borad">
<%= link_to( <%= link_to(
image_tag('comment.png'), image_tag('comment.png'),