mirror of
https://github.com/diaspora/diaspora.git
synced 2026-04-29 03:01:03 -04:00
RS, a little bit of autolinking in statuses and comments
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
%li.comment{:id => comment.id}
|
||||
%span.from
|
||||
= link_to_person comment.person
|
||||
= comment.text
|
||||
= auto_link comment.text
|
||||
%div.time
|
||||
= "#{time_ago_in_words(comment.updated_at)} ago"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
%li.message{:id => post.id, :class => ("mine" if mine?(post))}
|
||||
%span.from
|
||||
= link_to_person post.person
|
||||
= post.message
|
||||
= auto_link post.message
|
||||
|
||||
%div.time
|
||||
= link_to(how_long_ago(post), status_message_path(post))
|
||||
|
||||
Reference in New Issue
Block a user