#290 ✓resolved
makestory

为活动、分享留言增加楼数显示

Reported by makestory | 2010-02-03 16:16:43 UTC

安发现雪糕他们在谈论自己的回帖的楼数,好奇他们是自己数的吗?并建议增加楼数的显示。

Comments and changes to this ticket

  • makestory

    makestory 2010-02-03 16:22:40 UTC

    • State changed from “new” to “resolved”

    只修改了 /views/comments/_comments.erb.html

    使用 comments.each_with_index do |comment,index|来做循环
    使用index计数,并对url的page参数乘以15进行叠加(在这里硬编码了,因为目前所有是使用_comments模板的内容都是以15个做分页)

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

People watching this ticket

Pages