|
|
|
@ -22,7 +22,7 @@ class RedditComment
|
|
|
|
|
replies: RedditThing | String,
|
|
|
|
|
score: Int32,
|
|
|
|
|
depth: Int32,
|
|
|
|
|
created: {
|
|
|
|
|
created_utc: {
|
|
|
|
|
type: Time,
|
|
|
|
|
converter: RedditComment::TimeConverter,
|
|
|
|
|
},
|
|
|
|
@ -159,7 +159,7 @@ def template_reddit_comments(root)
|
|
|
|
|
<a href="javascript:void(0)" onclick="toggle(this)">[ - ]</a>
|
|
|
|
|
<i class="icon ion-ios-thumbs-up"></i> #{score}
|
|
|
|
|
<b><a href="https://www.reddit.com/user/#{author}">#{author}</a></b>
|
|
|
|
|
- #{recode_date(child.created)} ago
|
|
|
|
|
- #{recode_date(child.created_utc)} ago
|
|
|
|
|
</p>
|
|
|
|
|
<div>
|
|
|
|
|
#{body_html}
|
|
|
|
|