mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-10-29 10:18:29 -04:00
23 lines
537 B
Plaintext
23 lines
537 B
Plaintext
- @post ||= post if defined?(post)
|
|
%p
|
|
Posted by
|
|
- if @post.author
|
|
= link_to @post.author.login_name, member_path(@post.author)
|
|
- else
|
|
Member Deleted
|
|
- if @post.forum
|
|
in
|
|
= link_to @post.forum, @post.forum
|
|
on
|
|
= @post.created_at.to_fs(:default)
|
|
·
|
|
= t('posts.read_time', count: @post.read_time_minutes)
|
|
- if @post.updated_at > @post.created_at
|
|
and edited at
|
|
= @post.updated_at.to_fs(:default)
|
|
|
|
= link_to "Permalink", @post
|
|
|
|
:markdown
|
|
#{ markdownify(strip_tags(@post.body), figures: true) }
|